More Morph Virtuals

Moderator: GZDoom Developers

More Morph Virtuals

Postby Major Cooke » Sat Feb 15, 2020 4:21 pm

Pull Request

Simply adds four more blank virtuals that modders can use.
PreMorph, PostMorph, PreUnmorph, PostUnmorph. 'cls' is simply the other actor's class type.

The reason I need this is because of mod compatibility. No functions are called when the main player is brought back into the main body so restoring armor means going in a heavily roundabout manner. Right now, my armor saving system doesn't blanket carpet all cases for saving armor and restoring it for any and all morphs, and it's virtually impossible to perform without these.

Plus, I can make monsters react to what they transformed into or from without needing to rely upon hacks.
User avatar
Major Cooke
QZDoom Maintenance Team
Joined: 28 Jan 2007

Re: More Morph Virtuals

Postby wildweasel » Wed Apr 01, 2020 3:17 pm

This thread was Reported because the code submission is said to have been Added. Reminder that the Report button gets the attention of the moderators, not the developers.
User avatar
change o' pace.
Moderator Team Lead
Joined: 15 Jul 2003

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests