PUFFGETSDAMAGE flag for puffs
Moderator: GZDoom Developers
-
- Posts: 419
- Joined: Fri Dec 22, 2017 1:53 am
- Graphics Processor: ATI/AMD (Modern GZDoom)
- Contact:
PUFFGETSDAMAGE flag for puffs
What the title says. Basically the puff would set the damage of itself.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: PUFFGETSDAMAGE flag for puffs
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.
-
- Posts: 419
- Joined: Fri Dec 22, 2017 1:53 am
- Graphics Processor: ATI/AMD (Modern GZDoom)
- Contact:
Re: PUFFGETSDAMAGE flag for puffs
a) Currently hitscan attacks does not pass damage to the spawned puffs. Make the hitscan attacks pass damage to puffs and,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.
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.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: PUFFGETSDAMAGE flag for puffs
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.
This is a pure hack feature that will cause long terrm problems.