your brackets are setup wrong
the void main() should inclose all your runtime code like this
something like that.. this isnt tested code.. just showing you how to enclose script in the { } brackets..
Using the "check script" button in the script editor may also give you some clues.. use it.
the void main() should inclose all your runtime code like this
Code: [Select]
void Main() {
if (iObjectStart(OBJ_0)) {
if (timer = -1) timer = 0;
if (timer > -1) timer += 0.016667;
if (timer > .5) {
ObjectHide(OBJ_66);
timer = -1;
}
}
}
something like that.. this isnt tested code.. just showing you how to enclose script in the { } brackets..
Using the "check script" button in the script editor may also give you some clues.. use it.