help required calling functions from state fpsstate
Posted: November 19th, 2013, 6:01 am
Hi
I am trying to find a relatively quick way of calling a function defined within fpsstate in game.h and setting up an ICOMMAND for it (to allow access from mapname.cfg). This is to make a fix for a schools workshop. the settings I wish to change are within fpsstate.
However I cannot seen to get COMMAND/ICOMMAND to work within fpsstate. I figure the best way to do this is to call the function (for example respawn()) from outside. any pointers would be gratefully recieved as to the styntax.
Regards
John
I am trying to find a relatively quick way of calling a function defined within fpsstate in game.h and setting up an ICOMMAND for it (to allow access from mapname.cfg). This is to make a fix for a schools workshop. the settings I wish to change are within fpsstate.
However I cannot seen to get COMMAND/ICOMMAND to work within fpsstate. I figure the best way to do this is to call the function (for example respawn()) from outside. any pointers would be gratefully recieved as to the styntax.
Regards
John