![]() |
|
How to make custom AI characters response to commands? - 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: How to make custom AI characters response to commands? (/showthread.php?tid=8199) |
How to make custom AI characters response to commands? - LeoGautama - 08-22-2012 Title. How to make the AI to come when we use the Come command (D J D J), Stay and Move? RE: How to make custom AI characters response to commands? - Boop - 08-22-2012 It's not possible (yet). RE: How to make custom AI characters response to commands? - YinYin - 08-22-2012 actually it is - i have it working but its quite difficult i check for an id 999 object whether it is in frame 0, 2 or 4 (come/move/stay) and whether there is a character on the same position with an object number from 0 to 7 that is currently pressing the according key (J come, A move, D stay) if these conditions are met i change the values of a global array accordingly to make a team or character remember the command once that is done i can actually make him act upon that edit: the latest update might make this process easier if you want i can skip the basics inside my 'writing basic AI' thread and show all the command functions |