For the events WorldLineActivated and WorldLinePreActivated I think it would be useful to be able to check how the line was activated (e.g. by bumping, using, projectile impact etc.), so you can check against it.
Would be useful if a line has multiple activation flags, so you can let it do different things depending on how the line was activated.
Unless this is already possible? I checked the Line struct but I couldn't find anything redarging this (only the activation flags themself, which doesn't help me there)
WorldLine(Pre)Activated: Retrieve means of Activation
Moderator: GZDoom Developers
-
- Posts: 219
- Joined: Wed Jan 08, 2014 8:40 am
- Graphics Processor: nVidia with Vulkan support
- Location: Germany
- Major Cooke
- Posts: 8175
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: WorldLine(Pre)Activated: Retrieve means of Activation
That actually sounds like a good idea. I agree.
-
- Posts: 219
- Joined: Wed Jan 08, 2014 8:40 am
- Graphics Processor: nVidia with Vulkan support
- Location: Germany
Re: WorldLine(Pre)Activated: Retrieve means of Activation
Great, thank you!
I think in addition to this an enum definition for all the activation types should be added. At least I couldn't find one.
I think in addition to this an enum definition for all the activation types should be added. At least I couldn't find one.
Re: WorldLine(Pre)Activated: Retrieve means of Activation
On ZScript side activation types enum is here.
-
- Posts: 219
- Joined: Wed Jan 08, 2014 8:40 am
- Graphics Processor: nVidia with Vulkan support
- Location: Germany
Re: WorldLine(Pre)Activated: Retrieve means of Activation
Thank you.
I assume "player pushes" is "bumping?" That is why I couldn't find it then.
I assume "player pushes" is "bumping?" That is why I couldn't find it then.
- Marisa the Magician
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
Re: WorldLine(Pre)Activated: Retrieve means of Activation
Heh, I really should have added this from the beginning.