D der_Hahn Member Joined Jul 3, 2015 Messages 11 Reaction score 0 Jul 19, 2015 #1 How can i set actor.health to 99 when it reach 100? Code: 0000: NOP :NONAME_2 wait 0 if key_down 107 else_jump @NONAME_2 0@ = Actor.Health($PLAYER_ACTOR) 0@ += 20 Actor.Health($PLAYER_ACTOR) = 0@ wait 999 jump @NONAME_2
How can i set actor.health to 99 when it reach 100? Code: 0000: NOP :NONAME_2 wait 0 if key_down 107 else_jump @NONAME_2 0@ = Actor.Health($PLAYER_ACTOR) 0@ += 20 Actor.Health($PLAYER_ACTOR) = 0@ wait 999 jump @NONAME_2
Spix Well-known member Joined Sep 23, 2013 Messages 353 Reaction score 1 Jul 19, 2015 #2 What do you mean? Upvote 0 Downvote