I have made a shooting game, and I need the enemies to respawn. I tried doing it, but it didnt work out very well.. I'll give you a screenshot of what I attempted. Any feedback is greatly appreciated
http://gyazo.com/164f94e1fab1b7310b7707be9ebb7e3d
So as you can see I equivalently duplicated the code from the first sprite, but just increased the wait time for "spawning" and put the entire thing in a forever loop. For some reason it's not working.. not sure why. Any ideas would be greatly appreciated.
Thanks in advance,
~Nadim
Offline
you just need this:
when I receivealive ▼set health to10set speed topick random2to4foreverifhealth> 0movespeedstepsif on edge bouncedamagescriptselsewaitpick randomsecs1to3broadcastalive ▼
Offline
zammer990 wrote:
you just need this:
when I receivealive ▼sethealth ▼to10setspeed ▼topick random2to4foreverifhealth>0movespeedstepsif on edge, bouncedamagescriptselsewaitpick randomsecs1to3broadcastalive ▼
AgentRoop ▼fixed ▼yourscripts ▼a little bit
Offline
zammer990 wrote:
you just need this:
when I receivealive ▼set health to10set speed topick random2to4foreverifhealth> 0movespeedstepsif on edge bouncedamagescriptselsewaitpick randomsecs1to3broadcastalive ▼
alright, thanks for the help. I'll try this out.
Offline