Name

From Virtual Paradise Wiki
Revision as of 23:08, 12 September 2026 by Talisan (talk | contribs) (Created page with "{{feature|N/A|0.1.0|||}} The '''name''' command assigns a unique text identifier to an object, allowing it to be targeted and manipulated remotely by commands on other objects. ==Usage== '''name''' identifier ==Arguments== ; Identifier : The text string assigned as the object's name.<br>'''Values:''' Alphanumeric characters and underscores (e.g., <code>door_1</code>, <code>light</code>)<br>'''Default:''' None == Examples == create name main_gate Assigns the iden...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Name
Build required N/A
Version required 0.1.0


The name command assigns a unique text identifier to an object, allowing it to be targeted and manipulated remotely by commands on other objects.

Usage

   name identifier

Arguments

Identifier
The text string assigned as the object's name.
Values: Alphanumeric characters and underscores (e.g., door_1, light)
Default: None

Examples

create name main_gate

Assigns the identifier main_gate to the current object when loaded into the world.

activate move 0 5 0 name=main_gate

When activated (clicked), moves the object named main_gate up 5 meters, rather than moving the object containing the script.

create name street_lamp

Multiple objects can share the same name identifier. Commands referencing name=street_lamp will target and affect all objects sharing that name simultaneously.

activate color red name=light_1

Changes the color of the target object light_1 to red from a remote switch or button.

Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb