control Flashcards
(7 cards)
1
Q
repeat (10)
A
repeat (10)
{
action
}
2
Q
repeat while (variable is true
A
while (variable = ___)
{
action
}
3
Q
if <condition> then</condition>
A
if (condition)
{
action
}
4
Q
if <condition> then else</condition>
A
if (condition)
{
}
else
{
}
5
Q
stop [all v]
A
game_end()
6
Q
when I start as a clone
A
// Custom handler on clone creation
7
Q
delete this clone
A
instance_destroy()