LSL Delay

From Second Life Wiki
Jump to navigation Jump to search

Functions

Some LSL functions delay script execution when they are called.

The delay is measured in seconds (it's a float value).

Delay Function
20.0 llRefreshPrimURL
20.0 llSetPrimURL
20.0 llEmail
10.0 llLoadURL
10.0 llGetSimulatorHostname
5.0 llTeleportAgentHome
3.0 llSendRemoteData
3.0 llRemoteLoadScriptPin
3.0 llRemoteLoadScript
3.0 llRemoteDataReply
3.0 llGiveInventoryList
2.0 llSetParcelMusicURL
2.0 llParcelMediaQuery
2.0 llParcelMediaCommandList
2.0 llInstantMessage
2.0 llGetParcelPrimOwners
1.0 llTextBox
1.0 llRequestSimulatorData
Delay Function
1.0 llRequestInventoryData
1.0 llPreloadSound
1.0 llOpenRemoteDataChannel
1.0 llModPow
1.0 llMapDestination
1.0 llDialog
1.0 llCreateLink
1.0 llCloseRemoteDataChannel
0.3 llXorBase64Strings
0.2 llSetTexture
0.2 llSetRot
0.2 llSetRemoteScriptAccessPin
0.2 llSetPrimitiveParams
0.2 llSetPos
0.2 llSetLocalRot
0.2 llSetLinkTexture
0.2 llSetLinkPrimitiveParams
0.2 llScaleTexture
0.2 llRotateTexture
Delay Function
0.2 llOffsetTexture
0.2 llGetPrimitiveParams
0.1 llRezObject
0.1 llRezAtRoot
0.1 llResetLandPassList
0.1 llResetLandBanList
0.1 llRequestAgentData
0.1 llRemoveFromLandPassList
0.1 llRemoveFromLandBanList
0.1 llMakeSmoke
0.1 llMakeFountain
0.1 llMakeFire
0.1 llMakeExplosion
0.1 llGetNumberOfNotecardLines
0.1 llGetNotecardLine
0.1 llAdjustSoundVolume
0.1 llAddToLandPassList
0.1 llAddToLandBanList
float llSleep

Events

All events have a min delay, the default delay between events is 0.05 seconds, a longer delay can be specified with llMinEventDelay. A delay less than the default will have the same effect as if it were the default.

Delay Events
at_rot_target
at_target
attach
changed
collision
collision_end
collision_start
0.05 control
dataserver
email
http_response
Delay Events
http_request
land_collision
land_collision_end
land_collision_start
link_message
listen
money
moving_end
moving_start
no_sensor
not_at_rot_target
not_at_target
Delay Events
object_rez
on_rez
remote_data
run_time_permissions
sensor
state_entry
state_exit
timer
0.1 touch
0.1 touch_end
0.1 touch_start