This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-11-30 20:34:00

Garr8
Scratcher
Registered: 2011-08-10
Posts: 1000+

Help with war game

i'm making a war game and i can get the enemy to respawn, but he does it to quickly and he goes flying around the screen. How can i get him to stay dead for 7 seconds then respond?


What I scored on Pokemon Quiz: Porygon

Offline

 

#2 2011-12-01 02:19:05

anuw
Scratcher
Registered: 2009-04-09
Posts: 50

Re: Help with war game

Depends which way you did it.. If you did it using health variable then you'd say; when health < 1 wait 7 seconds goto 'respawn point'. If not; then you must have (or at least should) have used broadcasting. So you have (or atleast u'll need) a broadcast for dead. When enemy recieves 'dead' set <where it died variableX> to X and set <where it died variableY> to Y. repeat 7 times wait 1 second, set X to <where it died variableX>, set Y to <where it died variableY>.
You then have a variable for when it dies (X and Y). I reccomend the first option as it is easiest and less fiddly. Hope it helps! ~anuw  smile


http://lolwut.com/layout/lolwut.jpg Lolwut?

Offline

 

#3 2011-12-01 16:01:39

Garr8
Scratcher
Registered: 2011-08-10
Posts: 1000+

Re: Help with war game

well do u want me to send u a link?

Last edited by Garr8 (2011-12-01 16:01:56)


What I scored on Pokemon Quiz: Porygon

Offline

 

Board footer