I recommend virtualizing functions like these because having to override PlayerThink just for a small change can quickly lead to incompatibilities in the future. I mainly bring this up because of the morph issue that was fixed not too long ago. Because PlayerThink had to be modified internally, if mods were already using it beforehand, they may suffer incompatibilities without even knowing what's going on.
As for CheckUse itself, the only thing I'm doing is changing the angle, performing CheckUse and changing it back so I don't exactly need the internals for that. I would've made a code submission featuring a wrapper function but, considering the issues of subfunctions...
ZScript: Virtualize CheckUse()
Remember, just because you request it, that doesn't mean you'll get it.
Moderator: GZDoom Developers
1 post
• Page 1 of 1
-
Major Cooke
- Posts: 8221
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
ZScript: Virtualize CheckUse()
Post by Major Cooke »
1 post
• Page 1 of 1
Return to “Feature Suggestions [GZDoom]”
Jump to
- Official
- ↳ ZDoom (and related) News
- ↳ The Spotlight
- ↳ Rules and Forum Announcements
- Projects
- ↳ Levels
- ↳ Gameplay Mods
- ↳ TCs, Full Games, and Other Projects
- ↳ Resources
- ↳ Requests
- ↳ Script Library
- ↳ Graphic/Audio Patches
- ↳ Shaders
- Doom Editing Help
- ↳ Scripting
- ↳ Mapping
- ↳ Assets (and other stuff)
- ↳ Tutorials
- ↳ Programming and Compiling
- Discussion
- ↳ General
- ↳ Networking
- ↳ Legacy Discussion
- ↳ Off-Topic
- Technical Issues
- ↳ Technical Issues
- ↳ Helpful Stickies
- ZDoom Development
- ↳ Bugs [UZDoom]
- ↳ Feature Suggestions [UZDoom]
- ↳ Bugs [LZDoom]
- ↳ Bugs [GZDoom]
- ↳ Important Threads
- ↳ Please check the latest version (or dev builds) before reporting!
- ↳ Classic ("Carmack") Software Renderer Bugs
- ↳ OpenGL Renderer Bugs
- ↳ OpenGLES Renderer Bugs
- ↳ Vulkan Renderer Bugs
- ↳ Audio/Music Bugs
- ↳ LZDoom Bugs
- ↳ ZDoom.org Bugs
- ↳ On Hold Bugs
- ↳ On-Hold Softpoly Bugs
- ↳ Closed Bugs [GZDoom]
- ↳ Vintage Build Bugs
- ↳ SoftPoly2 Bugs
- ↳ Feature Suggestions [GZDoom]
- ↳ ZDoom.org Suggestions
- ↳ Code Submissions
- ↳ On Hold Suggestions
- ↳ Closed Feature Suggestions [GZDoom]
- Raze-Specific Stuff
- ↳ Raze
- ↳ News
- ↳ Raze (and ZDoom-related) News
- ↳ Technical Issues
- ↳ Technical Issues
- ↳ Raze Development
- ↳ Bugs [Raze]
- ↳ On Hold Bugs
- ↳ Closed Bugs [Raze]
- ↳ Feature Suggestions [Raze]
- ↳ Code Submissions
- ↳ On Hold Suggestions
- ↳ Closed Feature Suggestions [Raze]
- ↳ Discussion
- ↳ General
- ↳ Editing Help
- ↳ Scripting (Build)
- ↳ Mapping (Build)
- ↳ Tutorials (Build)
- ↳ Projects
- ↳ Projects
- ↳ Abandoned Projects
- Software and Ports
- ↳ Launchers
- ↳ Game Engines
- ↳ Creation, Conversion, and Editing
- ↳ Miscellaneous
- Important Threads
- ↳ Official ZDoom Community Rules
- ↳ Official Discord Server
- ↳ New Password Requirements and Password Reset
- ↳ HELP! "Account is inactive!"
- ↳ Mod Download Broken? Request Reuploads Here
- ↳ Don't see your first post(s) here? DON'T PANIC
- Archives
- ↳ The Halls of the Dead
- ↳ Abandoned/Dead Projects
- ↳ Editing (Archive)
- ↳ Developer Blog
- ↳ Errors? Can't run that new mod? Your GZDoom or ZDoom may be too old!
- ↳ A quick notice about privacy (Re: Our efforts to combat spam)