GameMakerHelpBlog

Thursday, November 30, 2006

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]

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home