Pages: 1
Topic closed
In a game I'm working on, you need to shoot a zombie three times before it dies. How can you do this. For the projectile, I tried this script with multiple zombies, but it didn't work.
The projectile:
When gf clicked forever if <touching [zombie1 v]> hide change [shots v] by (1) endThe Zombie
When gf Clicked Forever if <shots = (3)> hide endThe only difference between the script for other zombies was that I called the variable other things for each of them, like shots 1, shots 2, etc.
Offline
powerpoint56 wrote:
In a game I'm working on, you need to shoot a zombie three times before it dies. How can you do this. For the projectile, I tried this script with multiple zombies, but it didn't work.
The projectile:When gf clicked forever if <touching [zombie1 v] ? > hide change [shots v] by (1) wait until <not <touching [zombie1 v]?>> endThe ZombieWhen gf clicked forever if < (shots) = (3) > hide endThe only difference between the script for other zombies was that I called the variable other things for each of them, like shots 1, shots 2, etc.
I'd appreciate all the help I can get! Thanks!![]()
Fixed, and added SciTecCf's script.
Offline
Topic closed
Pages: 1