Difference between revisions of "ScriptTeleport"

From Amulets & Armor Wiki
Jump to: navigation, search
(Arguments)
(Arguments)
Line 8: Line 8:
 
'''Y''' - Y coord in map.
 
'''Y''' - Y coord in map.
  
'''Z''' - Z coord in map. (Not Used)
+
'''Z''' - (Not Used. Player always appears on ground)
  
 
=== Example ===
 
=== Example ===

Revision as of 01:15, 23 February 2014

Teleport ( [X], [Y], [Z])

Teleports the player, or players, to the destination based on the coordinates. This command should only be run in personal script #'s 201-255.

Arguments

X - X coord in map.

Y - Y coord in map.

Z - (Not Used. Player always appears on ground)

Example

200:    // teleport to druidtown
   Teleport(244, 1730, 0);
   End()