Users browsing this thread: 1 Guest(s)
Help with an enemy's AI Script

#3
Posts: 149
Threads: 21
Thanks Received: 40
Thanks Given: 3
Joined: Dec 2013
Reputation: 9
Status
Auto-life
You will need to use conditional opcodes. I generally use the Magitek status as a flag for battle initialization. In ff6usme, I unset the Magitek status at the battle start up. Then, I set the “attack first” flag and set the script like this:

Code:
If target self doesn't have Magitek status
    Monster gains hidden status: Magitek
    Lore: Quasar
End if
… continue normal script

The traditional way is to use variable opcodes instead of status opcodes. However, you must consider that multiple monsters, present at battle, may conflict over the use of the used variables. In normal conditions, every monster in the formation should use only his own variable, to avoid conflict between its use.

You can find the list of conditional opcodes here.
  Find
Quote  



Messages In This Thread
Help with an enemy's AI Script - by Blue Mage Gab - 03-15-2015, 06:16 AM
RE: Help with an enemy's AI Script - by HatZen08 - 03-15-2015, 12:24 PM
RE: Help with an enemy's AI Script - by HatZen08 - 03-16-2015, 08:32 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite