From ActiveWiki
Jump to navigation Jump to search




The lock command on a trigger restricts subsequent commands for use by certain citizens. An example use is a locked door only openable by the creator and his friends. It works in combination with create, activate and bump triggers.

Tourists cannot take advantage of this command.


lock [owners=NUM[:NUM]]


The owners argument allows the user to define a list of citizen numbers (separated by colons) that will be able to use the following commands. If undefined, the commands are locked to the object's owner.


activate lock, move 0 10 0 time=5

Allows only the owner of the object to click the object to activate the move.

create sign "Click me", lock, media url=...

Plays media on that sign for the object owner only.

create texture brick; activate lock owners=4711:1174:333333, picture my.space.com/...

Only the object owner and the listed citizen numbers (4711, 1174 and 333333) can activate to see the picture.

bump lock owners=4711:1174:333333, move 0 1 0 name=door

Only the object owner and the listed citizen numbers (4711, 1174 and 333333) can trigger the move to open the objects called 'door' on bump.

Object Scripting


Triggers: CreateBumpActivateAdoneAtCollideSdoneEnter ZoneExit Zone

Commands: AddforceAddtorqueAlpharefAnimateAstartAstopCameraColliderColltagColorCoronaEnviExamineFrameGroupLightLinkLockMatfxMediaMidiMoveNameNoiseOpacityPictureRotateSayScale SeqShadowShearSignSkewSkyboxSolidSoundTagTeleport / TeleportxTextureTimerURLVelocityVisibleWarpWeb nl:Commando:Lock