|
Post by marasmusine on May 19, 2021 12:10:02 GMT
Hello, I am using 0.7.10
If I put just about anything in the Sprite Initilisation script, the game crashes immediately.
It does not crash with something simple like
LET A = 1 But it does crash if it includes
IF A = 1 LET B = 1 ENDIF It also crashes if the script has a semi-colon comment somewhere.
; This Is A Comment Am I doing something wrong?
|
|
|
Post by Packobilly on May 19, 2021 12:13:37 GMT
A good fellow of mine told me that a script that ends in ENDIF use to crash. Try to put AT 0 0 at the end.
|
|
|
Post by Minilop on May 19, 2021 15:04:22 GMT
Also make sure you do a return at the end of your script, so if the last line of your script is ENDIF...hit the enter button to go to a new line
|
|
|
Post by marasmusine on May 19, 2021 17:54:58 GMT
That did the trick, thank-you Packobilly and Minilop!
|
|
|
Post by oss003 on May 20, 2021 9:11:01 GMT
It is important to watch the output on the Command screen during compilation because it points you in the right direction when problems occur.
|
|