Kill boss and makes the Move Sector Floor linedef effect

Status
Not open for further replies.

GLide KS

Sometimes I sprite "things"
Guys, how i can make when i kill a boss or enemy, it makes a move sector´s floor linedef effect for a sector?
 
You can use A_LinedefExecute on one of the Boss' death states. Var1 would be the tag to execute, of course.
You can also use P_LinedefExecute([tag number], [object that activated it], [triggering sector]) in Lua.
 
For bosses, if it's one of the vanilla bosses or a custom boss that uses A_BossDeath in its death states, 2.1 now reserves tags -4 and -3 for boss death linedef executor effects. -4 is used whenever a single boss dies, and -3 is used whenever all bosses in the map have died.

There's nothing like that for enemies on the other hand, so yes A_LinedefExecute is your best option then.
 
Zone Builder doesn't accept negative tags, so use 65532 instead of -4 and 65533 instead of -3.
 
Not even in the manner of SRB2DB where negative tags are converted to their non-negative equivalents? Or did it not do that, my memory is hazy here.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top