Having a problem getting these things to work within states.
I have approximately the following code:
The class that this lies in extends GameInfo, so the exec functions should be valid. The state is being entered because "Entered" is logged. However, whenever I try to run "Blah" from the console, I get an "Unrecognized Command" error. Any idea what's wrong here? Thanks!
I have approximately the following code:
Code:
state WaitForStuff { function BeginState() { log("Entered"); // this gets logged properly } exec function Blah() { log("Blah"); } }
Comment