Problems...
Posted: Fri Apr 22, 2005 7:43 pm
I got a few problems using Game Editor. I want to make it so that the game can be restarted if my main player gets destroyed, and the game stops if I say "You win!".
So I decide to use a code like this. The game is meant to stop if the player actor touches a certain gem (the "Ruby"). So I've put on a collision command for when it does this, and in Script Editor I wrote:
SuspendGame;
But I get the following error (in this exact wording):
Any help?
So I decide to use a code like this. The game is meant to stop if the player actor touches a certain gem (the "Ruby"). So I've put on a collision command for when it does this, and in Script Editor I wrote:
SuspendGame;
But I get the following error (in this exact wording):
- Code: Select all
Warning: Line 1: Please try use a function without arguments. This function will not execute.
There are some errors in this Script but are not fatal. Proceed anyway?
Any help?