Category:LSL Needs Example
Revision as of 04:06, 10 August 2009 by EddyFragment Robonaught (talk | contribs) (Fixed very minor (but right is right) grammatical error.)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Articles in this category need examples written for them. To do that set the 'examples' value equal to a multiline string.
Example: llFrand (the order of the parameters in the definition has no effect on the rendering).
{{LSL_Function |sort=Frand |func=llFrand |func_id=8 |func_sleep=0.0 |func_energy=10.0 |p1_type=float |p1_name=mag |p1_desc=Any valid float value |return_type=float |return_text=that is pseudo random number in the range [0.0,mag) or (mag, 0.0]. |spec=returns a pseudo random number in range [0.0, mag) or (mag, 0.0], depending upon the sign of mag. |caveats |examples=<lsl>default { touch_start(integer total_number) { // When touched, say "Heads" with probability 0.5, // otherwise, say "Tails." if ( llFrand(1.) < .5) llSay(0, "Heads"); else llSay(0, "Tails"); } }</lsl> |func_helpers |also |notes= The random number generator is not a source of entropy. The sequence of random numbers are shared across the entire process, and not independently seeded. Therefore, the pseudo random number generation is not suitable for any application which requires completely predictable or completely unpredictable results. |cat1=Math |cat2 |cat3 }}
Pages in category "LSL Needs Example"
The following 200 pages are in this category, out of 659 total.
(previous page) (next page)H
K
L
- LAND LEVEL
- LAND LOWER
- LAND NOISE
- LAND RAISE
- LAND REVERT
- LAND SMOOTH
- LlLinear2sRGB
- LlLinksetDataAvailable
- LlLinksetDataCountFound
- LlLinksetDataCountKeys
- LlLinksetDataDeleteFound
- LlLinksetDataListKeys
- LlLinksetDataRead
- LlLinksetDataReset
- LlLinkSitTarget
- LINK ALL CHILDREN
- LINK ALL OTHERS
- LINK ROOT
- LINK SET
- LINK THIS
- LIST STAT GEOMETRIC MEAN
- LIST STAT MEDIAN
- LIST STAT STD DEV
- LIST STAT SUM SQUARES
- LlGetGroup
- LOOP
M
N
O
- OBJECT ATTACHED POINT
- OBJECT ATTACHED SLOTS AVAILABLE
- OBJECT CHARACTER TIME
- OBJECT CLICK ACTION
- OBJECT CREATOR
- OBJECT DAMAGE
- OBJECT DAMAGE TYPE
- OBJECT DESC
- OBJECT GROUP
- OBJECT GROUP TAG
- OBJECT HEALTH
- OBJECT HOVER HEIGHT
- OBJECT LAST OWNER ID
- OBJECT NAME
- OBJECT OWNER
- OBJECT PATHFINDING TYPE
- OBJECT PHANTOM
- OBJECT PHYSICS
- OBJECT PHYSICS COST
- OBJECT POS
- OBJECT PRIM COUNT
- OBJECT PRIM EQUIVALENCE
- OBJECT RENDER WEIGHT
- OBJECT RETURN PARCEL
- OBJECT RETURN PARCEL OWNER
- OBJECT RETURN REGION
- OBJECT ROOT
- OBJECT ROT
- OBJECT SERVER COST
- OBJECT TEMP ON REZ
- OBJECT TOTAL INVENTORY COUNT
- OBJECT UNKNOWN DETAIL
- OBJECT VELOCITY
- LlOpenFloater
- OPT CHARACTER
- OPT AVATAR
- OPT EXCLUSION VOLUME
- OPT LEGACY LINKSET
- OPT MATERIAL VOLUME
- OPT OTHER
- OPT STATIC OBSTACLE
- OPT WALKABLE
P
- PARCEL COUNT GROUP
- PARCEL COUNT OTHER
- PARCEL COUNT OWNER
- PARCEL COUNT SELECTED
- PARCEL COUNT TEMP
- PARCEL COUNT TOTAL
- PARCEL DETAILS AREA
- PARCEL DETAILS DESC
- PARCEL DETAILS FLAGS
- PARCEL DETAILS GROUP
- PARCEL DETAILS NAME
- PARCEL DETAILS OWNER
- PARCEL FLAG ALLOW ALL OBJECT ENTRY
- PARCEL FLAG ALLOW CREATE GROUP OBJECTS
- PARCEL FLAG ALLOW CREATE OBJECTS
- PARCEL FLAG ALLOW DAMAGE
- PARCEL FLAG ALLOW FLY
- PARCEL FLAG ALLOW GROUP OBJECT ENTRY
- PARCEL FLAG ALLOW GROUP SCRIPTS
- PARCEL FLAG ALLOW LANDMARK
- PARCEL FLAG ALLOW SCRIPTS
- PARCEL FLAG ALLOW TERRAFORM
- PARCEL FLAG LOCAL SOUND ONLY
- PARCEL FLAG RESTRICT PUSHOBJECT
- PARCEL FLAG USE ACCESS GROUP
- PARCEL FLAG USE ACCESS LIST
- PARCEL FLAG USE BAN LIST
- PARCEL FLAG USE LAND PASS LIST
- PARCEL MEDIA COMMAND AGENT
- PARCEL MEDIA COMMAND AUTO ALIGN
- PARCEL MEDIA COMMAND DESC
- PARCEL MEDIA COMMAND LOOP
- PARCEL MEDIA COMMAND LOOP SET
- PARCEL MEDIA COMMAND PAUSE
- PARCEL MEDIA COMMAND PLAY
- PARCEL MEDIA COMMAND SIZE
- PARCEL MEDIA COMMAND STOP
- PARCEL MEDIA COMMAND TEXTURE
- PARCEL MEDIA COMMAND TIME
- PARCEL MEDIA COMMAND TYPE
- PARCEL MEDIA COMMAND UNLOAD
- PARCEL MEDIA COMMAND URL
- LlPassCollisions
- LlPassTouches
- PASS ALWAYS
- PASS IF NOT HANDLED
- PASS NEVER
- PATROL PAUSE AT WAYPOINTS
- PAYMENT INFO ON FILE
- PAYMENT INFO USED
- PAY DEFAULT
- PAY HIDE
- PERMISSION ATTACH
- PERMISSION CHANGE LINKS
- PERMISSION CONTROL CAMERA
- PERMISSION DEBIT
- PERMISSION OVERRIDE ANIMATIONS
- PERMISSION RETURN OBJECTS
- PERMISSION SILENT ESTATE MANAGEMENT
- PERMISSION TAKE CONTROLS
- PERMISSION TELEPORT
- PERMISSION TRACK CAMERA
- PERMISSION TRIGGER ANIMATION
- PERM ALL
- PERM COPY
- PERM MODIFY
- PERM MOVE
- PERM TRANSFER
- User:Peter Stindberg/is uuid
- User:Peter Stindberg/strCapitalize
- PI
- PING PONG
- PI BY TWO
- LlPlaySoundSlave
- LlPointAt
- PRIM ALLOW UNSIT
- PRIM ALPHA MODE BLEND
- PRIM ALPHA MODE EMISSIVE
- PRIM ALPHA MODE MASK
- PRIM ALPHA MODE NONE
- PRIM BUMP BARK
- PRIM BUMP BLOBS
- PRIM BUMP BRICKS
- PRIM BUMP BRIGHT
- PRIM BUMP CHECKER
- PRIM BUMP CONCRETE
- PRIM BUMP DARK
- PRIM BUMP DISKS
- PRIM BUMP GRAVEL
- PRIM BUMP LARGETILE
- PRIM BUMP NONE
- PRIM BUMP SHINY
- PRIM BUMP SIDING
- PRIM BUMP STONE
- PRIM BUMP STUCCO
- PRIM BUMP SUCTION