Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Help with move()? (https://forums.graalonline.com/forums/showthread.php?t=134263140)

DeCeaseD 05-06-2011 10:14 PM

Help with move()?
 
A rather simple question, but I'm currently creating an NPC and using move(), the problem isn't that I can't figure out how to use it, but rather how to return a certain option within the command.

There is the option: informmewhendone (8 or 0), which I'm assuming will declare a certain variable/flag when the NPC as reached it's destination or has ran into a wall.

Would anyone be kind enough to tell me how I would check for when this happens.. ?

salesman 05-06-2011 10:33 PM

onMovementFinished(), I believe


All times are GMT +2. The time now is 05:43 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.