Resurrected monster is not friendly (gzdoom-x64-g4.4pre-39-)

Fri May 01, 2020 10:59 am

If I resurrect a dead monster, then in some cases it is not friendly. This happens in conjunction with the use of “A_Die” and “RandomSpawner" and possibly something else.

(Actor "DoomedSpaceMarineGreen3" for resurrect)
Example:
You do not have the required permissions to view the files attached to this post.

Re: Resurrected monster is not friendly (gzdoom-x64-g4.4pre-

Fri May 01, 2020 4:09 pm

Just to ensure there is no confusion - what is the behavior you are expecting here?

Remember that the resurrected monster takes on the +FRIENDLY status of the archvile/creature that resurrects it - not its original +FRIENDLY state.

Re: Resurrected monster is not friendly (gzdoom-x64-g4.4pre-

Sat May 02, 2020 1:25 am

In a normal situation, a resurrected monster becomes friendly (if a player resurrect it). But in this situation, the resurrected monster is not friendly until you kill it and again resurrect. Even the forced setting of the flag "Friendly" through the function "A_ChangeFlag" does not give a result.

For Example:
Summon "DeadMarineSpawnPoint" and try resurrect it