Method Unit:MoveTo [-] [+]

The Unit will move to the coordinates

Synopsis

Unit:MoveTo( id, x, y, z )

Unit:MoveTo( id, x, y, z, genPath )

Arguments

number id

Unique waypoint Id.

Valid numbers: integers from 0 to 4,294,967,295.

number x

Valid numbers: all decimal numbers.

number y

Valid numbers: all decimal numbers.

number z

Valid numbers: all decimal numbers.

boolean genPath (true)

If true, generates path.

Returns

Nothing.

Generated on 29/09/2017
©2016 - Eluna Lua Engine