PUFFGETSOWNER blood vs. the world
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.
- Zhs2
- Posts: 1269
- Joined: Fri Nov 07, 2008 3:29 pm
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
- Location: Maryland, USA, but probably also in someone's mod somewhere
- Contact:
PUFFGETSOWNER blood vs. the world
+PUFFGETSOWNER on an actor spawned by P_SpawnBlood is supposed to set the spawned blood actor's target field to the actor the blood originated from, but the target field won't be set on such a blood actor when the inflictor of the damage isn't another actor, e.g. damage is dealt by a crushing sector or polyobject. I suspect this problem arises because of something deeper in how damage mechanics work, so I'm not sure just how unintentional this behavior may be. As it is, this can be easily tested with the simple ZScript lump below on MAP06, the mastermind crusher (versus shooting any actor with your pistol or something).
- Attachments
-
- zscript.txt
- It's just one lump, didn't bother to zip it
- (1.12 KiB) Downloaded 29 times
Re: PUFFGETSOWNER blood vs. the world
Fixed in a3236aa. Please note that damaging polyobjects don't spawn blood actors, only decals.