imnotbob wrote:
I'm making a game where a villian runs away after HP is set t 0, but how do i do that?
Help plz!
Well, if you post a demo, I may be able to help!
Offline
<when green flag clicked>
<wait until><( <{ VillainHealth }> <>> 0 )>
<wait until><( <{ VillainHealth }> <<> .1 )>
Script to run away goes here.
Offline
MoreGamesNow wrote:
<when green flag clicked>
<wait until><( <{ VillainHealth }> <>> 0 )>
<wait until><( <{ VillainHealth }> <<> .1 )>
Script to run away goes here.
thank you!
Offline
MoreGamesNow wrote:
<when green flag clicked>
<wait until><( <{ VillainHealth }> <>> 0 )>
<wait until><( <{ VillainHealth }> <<> .1 )>
Script to run away goes here.
Not quite...more like this.
Last edited by 777w (2011-05-08 07:25:54)
Offline
777w wrote:
MoreGamesNow wrote:
<when green flag clicked>
<wait until><( <{ VillainHealth }> <>> 0 )>
<wait until><( <{ VillainHealth }> <<> .1 )>
Script to run away goes here.Not quite...more like this.
The only advantage your script has over mine is if you want the enemy to come back after you beat him.
Offline