Lock
Build |
963 |
Version |
4.1 |
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.
Usage
lock [owners=NUM[:NUM]]
owners
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.
Examples
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.
|
|
Triggers: Create • Bump • Activate • Adone • At • Collide • Sdone • Enter Zone • Exit Zone Commands: Addforce • Addtorque • Alpharef • Animate • Astart • Astop • Camera • Collider • Colltag • Color • Corona • Envi • Examine • Frame • Group • Light • Link • Lock • Matfx • Media • Midi • Move • Name • Noise • Opacity • Picture • Rotate • Say • Scale • Seq • Shadow • Shear • Sign • Skew • Skybox • Solid • Sound • Tag • Teleport / Teleportx • Texture • Timer • URL • Velocity • Visible • Warp • Web nl:Commando:Lock |