User Tools

Site Tools


builders:timedactions

timed and other object scripts

The timedActions plugin enables per-object server-side scripting.

Only Amanda has the ability to edit scripts, though any builder may attach existing scripts to an object.

Access the scripting interface with Fiddle>Modify Actions

You may set a script id, and the next time to execute it (in unix time, i.e. the number of seconds past Jan 1st 1970.. this is a large number..) It's generally easier just to set to '1' for it to execute immediately.

Alternatively, set properties on an object -

defaultAction Set this as the action script id at the point object is first bought from a vendo or first picked up (if, e.g., it were created by a spawner.
defaultActionTime Delay in seconds before this action will be activated.
dropAction Set to action script id to be set on the item when it is dropped by an avatar.
dropActionTime Delay in seconds before this action will be activated.

See also NPCs and Reset NPCs

builders/timedactions.txt · Last modified: 2022/07/16 19:30 by amanda