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

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
yura_111
Posts: 28
Joined: Sat Oct 12, 2019 2:55 pm
Graphics Processor: nVidia (Modern GZDoom)

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

Post by yura_111 »

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.
User avatar
Rachael
Admin
Posts: 13211
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

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

Post by Rachael »

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.
Guest

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

Post by Guest »

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

Return to “Bugs [GZDoom]”