ashwin.sudhir Posted January 25, 2012 Share Posted January 25, 2012 In what way can we know whether the Main Menu is being displayed (something like engine.console.getActivity() )? Link to comment
frustum Posted January 25, 2012 Share Posted January 25, 2012 You should call system script function from your world script: engine.system.call("systemGetActivity"); Link to comment
ashwin.sudhir Posted January 26, 2012 Author Share Posted January 26, 2012 Is this an undocumented function? Couldn't find it when I searched the docs. Link to comment
frustum Posted January 26, 2012 Share Posted January 26, 2012 This function from data/core/scripts/system.h file. Link to comment
ashwin.sudhir Posted January 27, 2012 Author Share Posted January 27, 2012 Thank you, that worked! Link to comment
Recommended Posts