Miss if targeted enemy dies?
#4
(01-24-2012, 05:00 PM)PJM Wrote: Is it possible to have this game behave like older FF games, where you can't just spam the A button to win a fight?

I want it to miss if my character chooses to attack a specific enemy that happens to die before that character takes his turn.

It probably possible to disable the auto-retargetting but some specific things have to be taken into consideration. You must first find a way to make a check on the targetted monster to see if he's still alive right before or at the very beginning of the character action. Then you must find a way to waste the character's turn (resetting his ATB gauge). There might be a place that you could only branch to a "miss attack routine" or portion of code if the check fail and that would be a lot simpler.

And I'm thinking about something else as I'm writing this: do you want that for all the types of attack (including special skills)? In this case you might have to change more code. The code related to those changes should be in C2 unless I'm mistaken. I might eventually take a look at this but now I don't have enough free time for that.
Reply


Messages In This Thread
Miss if targeted enemy dies? - by pjmcphee87 - 01-24-2012, 05:00 PM
RE: Miss if targeted enemy dies? - by Angelo26 - 01-24-2012, 08:07 PM
RE: Miss if targeted enemy dies? - by Gi Nattak - 01-24-2012, 08:36 PM
RE: Miss if targeted enemy dies? - by pjmcphee87 - 01-24-2012, 10:10 PM
RE: Miss if targeted enemy dies? - by madsiur - 01-25-2012, 02:01 AM
RE: Miss if targeted enemy dies? - by madsiur - 01-24-2012, 09:28 PM
RE: Miss if targeted enemy dies? - by Gi Nattak - 01-24-2012, 11:48 PM
RE: Miss if targeted enemy dies? - by JCE3000GT - 01-25-2012, 12:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Guide to freeing up more enemy slots DrakeyC 7 6,101 04-10-2024, 12:49 PM
Last Post: DrakeyC
  Single-Enemy Formations that Allow Pincer PowerPanda 0 1,184 07-08-2021, 09:12 PM
Last Post: PowerPanda
Ninja Enemy Encounter Crashes Game Mutteo 6 8,030 05-03-2018, 07:26 PM
Last Post: Mutteo
  "Miss" in Battle Antamaru 7 7,225 12-26-2017, 02:50 PM
Last Post: assassin
  "Instant Death" over-rides "Miss if prot. from ailments" Marketa Lazarova 16 15,580 07-17-2016, 06:19 PM
Last Post: Marketa Lazarova
  BTB's Enemy Scripting Tutorial BTB 17 17,083 12-05-2015, 03:42 PM
Last Post: Tenkarider
  Help with an enemy's AI Script Blue Mage Gab 4 4,965 03-16-2015, 08:32 AM
Last Post: HatZen08
  HELP:Invoke Enemy Code event ShinMrKarate 2 3,427 10-03-2014, 04:28 PM
Last Post: madsiur
  Script Space, Palette Error, and Enemy Sprite disorientation? Royaken 24 24,817 04-11-2014, 09:23 PM
Last Post: Royaken
  Enemy bigger than 128x128? Royaken 5 6,951 03-11-2014, 11:03 PM
Last Post: madsiur

Forum Jump:


Users browsing this thread: 1 Guest(s)