[No] ZScript Function Pointers

Moderators: Developers, ZDoom.org Team

ZScript Function Pointers

Postby Gutawer » Thu Oct 12, 2017 2:10 pm

So, I realise this probably isn't likely to happen, and there's probably some reason its impossible, but on the off-chance that it is doable, I might as well ask - it'd be nice to be able to store a reference to a function and call it from that reference. For example, I am creating a GUI system using the ZScript menus, and it seems like the most sane way to implement button commands would be through a function pointer that executes the function when the button is clicked.
User avatar
Joined: 16 Apr 2016
Discord: Gutawer#3431

Re: ZScript Function Pointers

Postby Graf Zahl » Thu Oct 12, 2017 2:11 pm

Not going to happen.
User avatar
Graf Zahl
Lead GZDoom Developer
Joined: 19 Jul 2003
Location: Germany

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: Google [Bot] and 1 guest