Could anybody help me to write script, which can move my character 2 sqm right when player appears?
Could anybody help me to write script, which can move my character 2 sqm right when player appears?
if (paround() > 0) then
reachlocation($posx+3, $posy, $posz)
end
it will go 3 sqm right :P @Iwur Change the $posx+3 to $posx+2
or maybe not ;p just checked and this 'reach' means stand 1sqm near desired location ;p
Last edited by Orimorfus; 11-19-2014 at 10:28 PM.
Hmm.. Its working only when i TURN ON script when somebody is already next to me. It doesnt work when script is TURNED ON ale then, somebody appears
Thanks a lot, it works now
As a side note: it would probably be smarter to use moveto.
Can somebody add to script to NOT MOVE when this player is my friend? (nick: Lady Ksysia)