You are viewing an old version of this page. Return to the latest version.
Version of 11:13, 3 March 2009 by Scott
Difference between revisions of "LUA:MovementLoopAdd"
(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...) |
|||
| Line 3: | Line 3: | ||
===Usage=== | ===Usage=== | ||
MovementLoopAdd(Spawn, x, y, z, speed, delay, [function]) | MovementLoopAdd(Spawn, x, y, z, speed, delay, [function]) | ||
| + | |||
Spawn: The spawn to add the location to. | Spawn: The spawn to add the location to. | ||
| + | |||
x: The x value. | x: The x value. | ||
| + | |||
y: The y value. | y: The y value. | ||
| + | |||
z: The z value. | z: The z value. | ||
| + | |||
speed: The speed at which the spawn will move to this location. | 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. | 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. | function: (Optional) The function called once the spawn has reached this location. | ||
Latest revision as of 11:16, 3 March 2009
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.