LSL Wiki Mirror 10-5-2006: HowDoI

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::

How Do I...


...give someone a folder full of inventory items?
...specify which folder I want the inventory items to end up in?
See llGiveInventoryList.

...make a gun?
See llRezObject and ExampleGun.

...find out if land is no-build/no-script, etc?
llGetParcelFlags and llGetRegionFlags

...get the length of a string?
See llStringLength.

...get the arc for a sensor that senses straight ahead?

....and also the arc for a sensor that scans around and above its task (but not underneath it) without changing the task's orientation?
(Specifically, when nobody's around to see a critter, I want to it to sleep to keep from lagging the server without making the critter look wrong from afar.)

....and also the arc for a sensor that scans straight below its task?
See llSensor. For a reduced arc, use a smaller value of radians for the arc parameter. To use the sensor in a different direction than east (forward), rotate the prim in that direction.

...make magical holes in walls that you can walk through?
See llSetPrimitiveParams. You can make holes in box prims by modifying its hollow under the Object tab in the Edit menu.
You can also use llSitTarget to jump through walls.

...make my script communications secure?
See Script security

HomePage | Tutorial
There are 9 comments on this page. [Display comments/form]