Users browsing this thread: 1 Guest(s)
Help with an enemy's AI Script
03-15-2015, 07:06 AM
1) If you want to build up a cycle of attack packs, then what you want to do is command wait until next action and reset target; (something similar should be description)
2) If you want to evolve the AI of the boss through the battle, then you should use a variable between 0 and 3(0,1,2,3) and use it for count his phases and check which actions to use according to the current value of the variable;
3) If it's just a starting battle set of action, then you should still use a variable, but it's better to use one of the 8 bits of that var(bits 0,1,2,3,4,5,6,7)
WARNING: never use as counter a variable which uses bits, those have to be used as 8 flag slots, and adding/subtracting numbers to it will make them swap in a totally umpredictable way.
2) If you want to evolve the AI of the boss through the battle, then you should use a variable between 0 and 3(0,1,2,3) and use it for count his phases and check which actions to use according to the current value of the variable;
3) If it's just a starting battle set of action, then you should still use a variable, but it's better to use one of the 8 bits of that var(bits 0,1,2,3,4,5,6,7)
WARNING: never use as counter a variable which uses bits, those have to be used as 8 flag slots, and adding/subtracting numbers to it will make them swap in a totally umpredictable way.
THE GREATEST CHALLENGE OF ALL TIMES AWAITS:
http://www.ff6hacking.com/forums/showthr...p?tid=2593
DO YOU HAVE WHAT IT TAKES TO SLAY A GOD?
------------------------------------------------------------------------
Tenkarider's project #2 is started: FF6 Curse of the Madsiur Joke (CotMJ)
http://www.ff6hacking.com/forums/showthr...p?tid=2755
What happens when Madsiur tweaks your account? This full game hack will show that!
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)