Activate
Build |
N/A |
Version |
N/A |
The activate trigger will activate when an object is clicked by the user.
Usage
activate ([command1], [command2], [...]);
Example
activate move 5 6 5, noise water3, light color=blue;
When the object with this code is clicked, it will move the object accordingly, play the sound file water3 once, and emit a blue light.
activate lock owners=1, rotate 7.5 time=2 wait=5 global
When this object is clicked by the citizen AWLD (#1), the object will rotate 90 degrees and back. Otherwise, nothing will happen.
|
|
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:Trigger:Activate |