I found a way with mixins, but it's still a pain since you can't seem to type cast with them.
Currently trying to figure out how to check if a custom variable in one actor is the same as another using the same mixin, but I'm getting a lot of unknown identifier errors.
Search found 5 matches
- Mon Aug 25, 2025 3:48 pm
- Forum: Scripting
- Topic: Adding custom functions to base Actor
- Replies: 1
- Views: 147
- Mon Aug 25, 2025 3:05 pm
- Forum: Closed Feature Suggestions [GZDoom]
- Topic: New flag: TARGETDEAD
- Replies: 3
- Views: 292
Re: New flag: TARGETDEAD
I ended up using the second solution, as I couldn't figure out goals.
Looking back, TargetDead fits an incredibly niche use case.
Still, it would be nice to not have to find messy solutions for something so seemingly simple.
Looking back, TargetDead fits an incredibly niche use case.
Still, it would be nice to not have to find messy solutions for something so seemingly simple.
- Thu Aug 21, 2025 4:57 pm
- Forum: Closed Feature Suggestions [GZDoom]
- Topic: New flag: TARGETDEAD
- Replies: 3
- Views: 292
New flag: TARGETDEAD
The A_Chase function can be customized in almost any way you want, with only one major limitation. You can't make actors target dead ones. Being able to target dead actors would be incredibly useful for Archvile / necromancer style enemies. Not much else, but you get what I mean. It's incredibly ...
- Wed Aug 20, 2025 3:10 pm
- Forum: Scripting
- Topic: Adding custom functions to base Actor
- Replies: 1
- Views: 147
Adding custom functions to base Actor
I'm currently trying to overhaul the Slam function so that it uses a state instead, allowing more customization with the function. Someone somewhere on the forums said it was possible to add custom functions to the base Actor class in Zscript, but didn't say how. You can't use Class Extend outside ...
- Tue Aug 19, 2025 7:07 pm
- Forum: Mapping
- Topic: Trouble with DoomEdNums
- Replies: 8
- Views: 815
Re: Trouble with DoomEdNums
I tried to use the Good Enums file provided, but it has the exact same error as before.
Edit: I figured it out. It seems to only work in Ultimate Doom Builder and only when using UDMF. If anyone figures out how to use it in Boom / Doom 2 format, lmk!
Edit: I figured it out. It seems to only work in Ultimate Doom Builder and only when using UDMF. If anyone figures out how to use it in Boom / Doom 2 format, lmk!