Jump to content

Boss Spawns When Enemy Defeated [Solved]


Elwood288
 Share

Recommended Posts

That worked but the boss now spawns a second time after the first is defeated. So killing the boss makes the event get triggered a second time. I cannot for the life of me find the code that makes events not repeat.

Link to comment
Share on other sites

Uh... I've forgotten how most events work, but let's see if I can help.

You could maybe put 'ENUT 0x??' in the boss spawn, '??' being whatever event ID you gave the boss spawn event.

i'm likely totally wrong about this working though so don't get your hopes up.

Link to comment
Share on other sites

Didn't seem to work. The boss spawn event is called HeresDesmond so I put ENUT HeresDesmond. Event Assembler had no problem with it but it didn't do anything. A new boss still spawned every time the old one died.

Link to comment
Share on other sites

Alrighty. Here ya go.

Spoiler

Desmond:
UNIT 0x87 0x3A 0x00 Level(8, Enemy, 1) [7,0] [7,1] [0x20] AttackInRange
UNIT

HeresDesmond:
LOU1 Desmond
ENUN
ENDA

Misc_events:

DefeatAll(HeresDesmond)

 

 

Link to comment
Share on other sites

Here~

Spoiler

 

HeresDesmond:
IFEF 0x01 0x3F (If statement, IFEF in particular checks to see if an event WASN'T triggered. replace 0x3F with whatever event ID, likely best to have it as a separate ID)

LOU1 Desmond

ENUT 0x3F (Switches 0x3F ID on, which shoooould stop this from playing again)
MUEN 4    (Also likely not necessary but hey!)
ENIF 0x01 (End if)

ENIF 0x02 (Can't recall what this secondary end if is for but it's probably necessary.)

ENUN
ENDA

 

Again, may or may not work, I just pulled some event stuff from something I was working on.

Link to comment
Share on other sites

7 minutes ago, Elwood288 said:

Okay the first one didn't work. As for the second is something like this what you meant?

AFEV 0x5 Ending_event 0x02

In the death quote editor in nightmare, there's an event id linked to each char's death quote. this is the id you should use for AFEV(You should also give your boss a different event id)

Link to comment
Share on other sites

Right. My boss is replacing Batta and 0x02 is the ID for Batta's death quote.

I'm not sure what you mean by give the boss a different event ID. Which ID should I change?

EDIT:

Got it. Took a look at Arch's tutorial and this is what the line should have looked like.

AFEV 0x0 0x02 Ending_event

Edited by Elwood288
Link to comment
Share on other sites

  • Elwood288 changed the title to Boss Spawns When Enemy Defeated [Solved]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...