🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Automatically suspend after calling registered function
Is it possible in AngelScript to register a function such a way that the virtual machine will automatically suspend itself after the function is called?
Yes. Example:
Regards,
Andreas
[Edited by - WitchLord on December 8, 2008 7:33:37 AM]
// C++void Suspend(){ asIScriptContext *ctx = asGetActiveContext(); if( ctx ) ctx->Suspend();}
Regards,
Andreas
[Edited by - WitchLord on December 8, 2008 7:33:37 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement