Difference between revisions of "Talk:MoveTo"

53 bytes added ,  04:06, 29 May 2006
m
forgot my signature
imported>JustTim
("Unexpected behavior" workaround)
imported>JustTim
m (forgot my signature)
Line 28: Line 28:
:Yes, the behavior of this function on non-actors is a little weird. The best method seems to be a combination of MoveTo and SetPos. MoveTo ONLY works when the object moves into another cell and SetPos does NOT work if the object moves into another cell. Just call both functions and it should work. But you should call MoveTo last, since it might abort the script (like a "return").
:Yes, the behavior of this function on non-actors is a little weird. The best method seems to be a combination of MoveTo and SetPos. MoveTo ONLY works when the object moves into another cell and SetPos does NOT work if the object moves into another cell. Just call both functions and it should work. But you should call MoveTo last, since it might abort the script (like a "return").
:But there is a downside: The object loses its special behavior when moved by a setpos function. You can't activate it anymore and collusion doesn't work anymore.
:But there is a downside: The object loses its special behavior when moved by a setpos function. You can't activate it anymore and collusion doesn't work anymore.
--[[User:JustTim|JustTim]] 05:06, 29 May 2006 (EDT)
Anonymous user