Reviving a corpse without checking for space

Moderator: GZDoom Developers

Post Reply
User avatar
Ichor
Posts: 1783
Joined: Wed Jul 23, 2003 9:22 pm

Reviving a corpse without checking for space

Post by Ichor »

Suppose you want something to resurrect. However, it will not if something is standing on it, even the edge (this is especially true for larger corpses). Would it be possible to add a flag to Thing_Raise or maybe A_VileChase that would revive something even though there's no room for it to do so normally?
Blue Shadow
Posts: 4949
Joined: Sun Nov 14, 2010 12:59 am

Re: Reviving a corpse without checking for space

Post by Blue Shadow »

Wouldn't the resurrected thing get stuck if you do that?
User avatar
Ichor
Posts: 1783
Joined: Wed Jul 23, 2003 9:22 pm

Re: Reviving a corpse without checking for space

Post by Ichor »

Not if it's not solid or maybe you just want it to perform an action before disappearing.
User avatar
amv2k9
Posts: 2178
Joined: Sun Jan 10, 2010 4:05 pm
Location: Southern California

Re: Reviving a corpse without checking for space

Post by amv2k9 »

Ichor wrote:Not if it's not solid or maybe you just want it to perform an action before disappearing.
I'd like a flag for this for precisely that reason.
User avatar
Ichor
Posts: 1783
Joined: Wed Jul 23, 2003 9:22 pm

Re: Reviving a corpse without checking for space

Post by Ichor »

I was about to make a request for this after reading the +RESURRECTABLE thread, but I remembered that I already made this thread before. I guess I'll just bump this then instead of making a new one.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Reviving a corpse without checking for space

Post by Graf Zahl »

Added for Thing_Raise and A_Raise*
User avatar
Ichor
Posts: 1783
Joined: Wed Jul 23, 2003 9:22 pm

Re: Reviving a corpse without checking for space

Post by Ichor »

Graf Zahl wrote:Added for Thing_Raise and A_Raise*
Oh, nice. I didn't even see this until now. A_Raise though, isn't that for weapons?
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm
Contact:

Re: Reviving a corpse without checking for space

Post by Arctangent »

Not A_Raise, but A_Raise* - aka, [wiki]A_RaiseChildren[/wiki] or [wiki]A_RaiseSiblings[/wiki], etc.
User avatar
Ichor
Posts: 1783
Joined: Wed Jul 23, 2003 9:22 pm

Re: Reviving a corpse without checking for space

Post by Ichor »

heh ok. That makes much more sense.

Oh yeah, does this work with A_VileChase as well?
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”