Usage
Syntax: move(float dx, float dy, float time(speed), int options)Explanation
Will move the NPC forward to the x/y and speed summited
Options:
cachtype(0,1,2) + blockcheck(4) + eventwhendone(8) + applydir(16)
Example
//#CLIENTSIDE
function onCreated()
{
temp.dx = 1;
temp.dy = 2;
temp.time = 0.5;
this.move(dx, dy, time, 0);
}... Will move the NPC one x to the right and two y down.
Categories
CategoryObjectFunction
CategoryFunctionClientside
There are no comments on this page. [Add comment]