die darn it die!

Talk about making games.

die darn it die!

Postby game_mate » Thu Dec 16, 2004 12:15 am

who do i make my player die when his lifes get to 00. i have an idea but its not working tellme plzz this is so frustrating:!:
game_mate
 
Posts: 16
Joined: Sat Dec 11, 2004 2:37 am
Score: 0 Give a positive score

Postby makslane » Thu Dec 16, 2004 11:54 am

You must decrease the life in some action, right?

In this action use this code:

if(life == 0)
{
DestroyActor("Event Actor");
}
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron