Page 1 of 1

PUFFGETSDAMAGE flag for puffs

PostPosted: Wed Dec 05, 2018 11:10 pm
by Cacodemon345
What the title says. Basically the puff would set the damage of itself.

Re: PUFFGETSDAMAGE flag for puffs

PostPosted: Thu Dec 06, 2018 2:16 am
by Graf Zahl
Cacodemon345 wrote:What the title says.



Here's what it says to me:

?????


You need to be a) a little more informative and b) at least tell us what this is supposed to achieve.
To me this sounds like some hack workaround for a problem that can most likely be solved without it.

Re: PUFFGETSDAMAGE flag for puffs

PostPosted: Thu Dec 06, 2018 2:46 am
by Cacodemon345
Graf Zahl wrote:You need to be a) a little more informative and b) at least tell us what this is supposed to achieve.
To me this sounds like some hack workaround for a problem that can most likely be solved without it.

a) Currently hitscan attacks does not pass damage to the spawned puffs. Make the hitscan attacks pass damage to puffs and,
b) This flag would allow for hitscan/railgun attack damage to be passed to puffs. Mods would use this to spawn projectiles from puffs and pass damage to them without the need to needlessly write extra ZScript puff actors with the damage pre-setted.

Re: PUFFGETSDAMAGE flag for puffs

PostPosted: Thu Dec 06, 2018 3:39 am
by Graf Zahl
Here's a hint: If you want to perform low level actions, do not use the high level function interface. Actor.LineAttack already gives you all the information you need to do this.
This is a pure hack feature that will cause long terrm problems.