I have a cleo mission, all good all done, but that at the end of the mission, has a gosub where there is a random integer, which loops to choose if the mission restarts or just ends there, the thing is that, when the mission restarts too many times, the game crashes, i checked actors and locals and everything removes itself when it haves to, so i wonder.
If i wanted to count how many times the mission has been done on the script how would i do it? would i just have to do this?:
[email protected] =+ 1
everytime the mission ends and then adding an if like this:
[email protected] == 3
Or is there something else to it?