Teleportxyz: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Aerizeon (talk | contribs)
mNo edit summary
Line 2: Line 2:


The '''teleport''' command sends the user to a new location immediately.
The '''teleport''' command sends the user to a new location immediately.
 
{{clear}}
==Usage==
==Usage==
  teleportxyz ''x'' ''y'' ''z'' ''direction''
  '''teleportxyz''' ''x'' ''y'' ''z'' [''direction'']


==Arguments==
==Arguments==
;x:X value, negative or positive
;X : The X position that the user will be teleported to<br>'''Values:''' Decimals between positive and negative infinity <br>'''Default:''' N/A


;y:Y value, negative or positive
;Y : The Y position that the user will be teleported to<br>'''Values:''' Decimals between positive and negative infinity <br>'''Default:''' N/A


;z:Z value, negative or positive
;Z : The Z position that the user will be teleported to<br>'''Values:''' Decimals between positive and negative infinity <br>'''Default:''' N/A


;direction:Direction value, ranges from 0 to 360.
;Direction : The direction the user will face once teleported, in degrees<br>'''Values:''' Degrees between 0.0&deg; and 360.0&deg;<br>'''Default:''' 0.0&deg;


==Example==
==Example==
  [[activate]] teleportxyz 500 0 500 0
  [[activate]] teleportxyz 500 0 500 180


{{Build}}
{{Build}}
[[Category: Script commands]]
[[Category: Script commands]]

Revision as of 01:52, 13 November 2012

Teleportxyz
[[Image:{{{4}}}|center|middle|200x200px]]
{{{5}}}
Build required 1
Version required 0.3.29


The teleport command sends the user to a new location immediately.

Usage

teleportxyz x y z [direction]

Arguments

X
The X position that the user will be teleported to
Values: Decimals between positive and negative infinity
Default: N/A
Y
The Y position that the user will be teleported to
Values: Decimals between positive and negative infinity
Default: N/A
Z
The Z position that the user will be teleported to
Values: Decimals between positive and negative infinity
Default: N/A
Direction
The direction the user will face once teleported, in degrees
Values: Degrees between 0.0° and 360.0°
Default: 0.0°

Example

activate teleportxyz 500 0 500 180
Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb