I'm wondering whether i can use the black magic fuckery of event handlers to override obituaries without changing actors. For example, say that I want to causes imps to get a randomized kill message (this is not what i want to do, just an example) - can i do this without a new imp actor that overrides getobituary()?
If this is not possible, is there any gross hack that i can use to simulate this?
Override obituaries without changing actors?
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49238
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Override obituaries without changing actors?
No. The obituary system gets the text by calling GetObituary, and no event handler in the world can change such a thing.