Codice: Seleziona tutto
if (condizione) { exit; }
Codice: Seleziona tutto
event_inherited();
<..codice..>
Infatti, dal manuale:
Quindi termina il piece of code del parent, e torna correttamente nel piece of code del figlio e lo esegue.The exit statement has the form
exit
It simply ends the execution of this script or piece of code. (It does not end the execution of the game! For this you need the function game_end(); see below.)
Mi ha fatto perdere mezz'ora... ma il manuale chiariva tutto. Quindi come al solito: leggiamo il manuale!