Teleportxyz: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
mNo edit summary
Oliver (talk | contribs)
m Fixed the summary to read "The teleportxyz command [...]" instead of "The teleport command [...]"
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{feature|1|0.3.29}}
{{feature|1|0.3.29}}


The '''teleport''' command sends the user to a new location immediately.
The '''teleportxyz''' 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:Action Commands]]
[[Category: Script commands]]

Latest revision as of 23:09, 6 December 2012

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


The teleportxyz 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