[Not a bug] APROP_Invulnerable and manikins
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- The Ultimate DooMer
- Posts: 2109
- Joined: Tue Jul 15, 2003 5:29 pm
- Location: Industrial Zone
APROP_Invulnerable and manikins
I found this today when playing SSD with 2.0.53: APROP_Invulnerable does not protect against damage done to you by hitting manikins.
- Ultraviolet
- Posts: 1152
- Joined: Tue Jul 15, 2003 9:08 pm
- Location: PROJECT DETAILS CLASSIFIED.
- SargeBaldy
- Posts: 366
- Joined: Tue Jul 15, 2003 3:49 pm
- Location: Oregon
- Contact:
manikin is an acceptable spelling: http://dictionary.reference.com/search?q=manikin
of course nobody at all calls them that, they've been called voodoo dolls by everyone since whoever discovered them
of course nobody at all calls them that, they've been called voodoo dolls by everyone since whoever discovered them
Mannequins (or manikins if you prefer) don't inflict damage on someone else when they're hurt. "Voodoo Doll" seems like a more appropriate term for the player-duplicates.Cyb wrote:manikin is an acceptable spelling: http://dictionary.reference.com/search?q=manikin
of course nobody at all calls them that, they've been called voodoo dolls by everyone since whoever discovered them
- Ultraviolet
- Posts: 1152
- Joined: Tue Jul 15, 2003 9:08 pm
- Location: PROJECT DETAILS CLASSIFIED.
Re: APROP_Invulnerable and manikins
That's because you need to make the voodoo doll invulnerable, too. Invulnerability is no match against voodoo unless the doll is protected.The Ultimate DooMer wrote:I found this today when playing SSD with 2.0.53: APROP_Invulnerable does not protect against damage done to you by hitting manikins.
Using the next ZDoom with enter scripts fixed, you can do this by giving the voodoo dolls the same TID as the player:
Code: Select all
script 1 enter
{
Thing_ChangeTID (0, PlayerNumber()+1);
}Code: Select all
SetActorProperty (PlayerNumber()+1, APROP_Invulnerable, TRUE);- The Ultimate DooMer
- Posts: 2109
- Joined: Tue Jul 15, 2003 5:29 pm
- Location: Industrial Zone
Does this mean we can do other things to manikins, like Thing_Destroy etc.?
(btw, I heard the term when playing AD&D once, when the DM was referring to hand-sized dolls we'd all gotten, so that's why I call them that)
(btw, I heard the term when playing AD&D once, when the DM was referring to hand-sized dolls we'd all gotten, so that's why I call them that)
There isn't a player property for invulnerable.cccp_leha wrote:This means that to render the player invulnerable, I have to use setActorProperty() and not setPlayerProperty()? While on the subject, what is the difference between using either of the two on the player?
- The Ultimate DooMer
- Posts: 2109
- Joined: Tue Jul 15, 2003 5:29 pm
- Location: Industrial Zone
