Name
Build |
N/A |
Version |
N/A |
The name command assigns a name to an object so that it may be referenced by an action on another object. This allows the implementation of multi-object behaviors. For example, clicking an object can cause another object to appear or disappear.
Usage
name name
name
The name argument is the only argument required for this command. Names are limited to 15 characters and can only contain alphanumeric and underscore characters.
Examples
Object #1: create name door Object #2: bump visible door off
Creates an object with the name door. This name is referrable by other objects, such as the second object which hides the named object on bump.
Notes
- Multiple objects may have the same name. In this case, any actions applied to a given name will affect all objects within visibility range with that name assigned to them.
- Named objects can only be affected by objects owned by the same citizen or by other tourists.
|
|
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:Name |