When I put it in my object's Step event and try running my game to see it work, I get this message:___________________________________________ COMPILATION ERROR in Script: pause Error in code at line 6: pause=1; ^ at position 31: Variable name expected.How can I fix this?
Did you follow exact the implementation explained in the 1st post? Because, if you put the pause code into a script, or make some changes to it, it might not work as intended.
I followed the instructions exactly, and only removed optional stuff I did not want. I did not add nor remove anything not optional and it is the only thing in its script.
EDIT: When I run your downloadable example with the changes I made, it runs normally. When I run my game after a copy/paste to make sure they are exactly the same, it has the same error come up.
Edited by NameDollars, 29 December 2012 - 08:27 AM.