No categories assigned

LUA:MovementLoopAdd

Revision as of 11:13, 3 March 2009 by Scatman (talk | contribs) (New page: ==Add a location to the spawn's movement loop== ===Usage=== MovementLoopAdd(Spawn, x, y, z, speed, delay, [function]) Spawn: The spawn to add the location to. x: The x value. y: The y val...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Add a location to the spawn's movement loop

Usage

MovementLoopAdd(Spawn, x, y, z, speed, delay, [function]) Spawn: The spawn to add the location to. x: The x value. y: The y value. z: The z value. speed: The speed at which the spawn will move to this location. delay: The amount of time the spawn will wait once it has reached this location. function: (Optional) The function called once the spawn has reached this location.