AI - Lives
This is a simple code for checking for how many lives you have left or the AI does in create event put this
[code]
my_lives=3
[/code]
[code]
if my_lives=0 then instance_destroy()
[/code]
[code]
my_lives=3
[/code]
[code]
if my_lives=0 then instance_destroy()
[/code]
Labels: Novice

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home