break

Script Reference Scenes & Game

break() //Beginner

Used for : Any script.

Parameters :

- none

Description :

Stopps a script at the position of the break command. When the script is a looping script it will be reset to the beginning. Example :

on (click)
{
if_num (Number ; 3)
{
speech (self ; The number is three)
break()
}
speech (self ; The number is not three)
}

Only one speech command will be processed.