Name

From ActiveWiki
Jump to: navigation, search
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.
Object Scripting

Building2.jpg

Triggers: CreateBumpActivateAdoneAtCollideSdoneEnter ZoneExit Zone

Commands: AddforceAddtorqueAlpharefAnimateAstartAstopCameraColliderColltagColorCoronaEnviExamineFrameGroupLightLinkLockMatfxMediaMidiMoveNameNoiseOpacityPictureRotateSayScale SeqShadowShearSignSkewSolidSoundTagTeleport / TeleportxTextureTimerURLVelocityVisibleWarpWebnl:Commando:Name