![]() |
|
AI question about revive - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: AI Scripting (https://lf-empire.de/forum/forumdisplay.php?fid=56) +--- Thread: AI question about revive (/showthread.php?tid=9325) Pages:
1
2
|
RE: AI question about revive - Silverthorn - 08-05-2014 (07-29-2014, 07:06 AM)feiterry Wrote: A stupid question... I strongly encourage you to study this thread with the commands and states. - Target the dead char - Turn to him - Walk in desired direction - if(self.state == 1)press direction-key once more to run (obviously not needed if only "walk to" is intended) - If the distance is below a certain limit, stop the running (same as above) - If the distance is below a certain limit, mp high enough, or whatever condition works for you, perform the desired move. |