Polski Česky English Français Русский Español
Home Site Facebook YouTube Steam Group
Your first time here? View this!

SAIL Base

» Index > Function > TeleportUnit

Function - TeleportUnit

Summary
Name
TeleportUnit
Parameters
  • un : integer
  • x : integer
  • y : integer
  • range : integer
  • sound : boolean
Description
try to teleport unit un to [x,y]. Uses warp effect. Sound optionally. Returns true, if succeed. Only for outside units. Use range to auto-find other destination if [x,y] unusable.
» Index > Function > TeleportUnit