Hey i got it to work! I put
function repeatedly_execute() {
if (Jigsaw.GetPuzzleComplete() == true) {
Jigsaw.RemovePuzzle();
player.ChangeRoom(1);
}
}
In the global script and it works... these both worked so i don't think that it was that
int jigsaw_won;
bool jigsaw_won;
Still curious why it did'nt work when the repeatedly execute was in the room script
But anyway... thanks for the help and quick responses mate(cheers)'
function repeatedly_execute() {
if (Jigsaw.GetPuzzleComplete() == true) {
Jigsaw.RemovePuzzle();
player.ChangeRoom(1);
}
}
In the global script and it works... these both worked so i don't think that it was that
int jigsaw_won;
bool jigsaw_won;
Still curious why it did'nt work when the repeatedly execute was in the room script
But anyway... thanks for the help and quick responses mate(cheers)'