Jump to content
Sign in to follow this  
andysfile

Activating a trigger if more than 2 animals die

Recommended Posts

I'm making a level where one player has an M14 and is facing a farmyard full of animals. The shooter has to guess which animal the other player is pretending to be to win and the animal can win by not getting shot for 30 seconds or having the other player shoot two real animals.

This trigger should go off if the shooter hits two real animals:

bomb="Bo_GBU12_LGB" createVehicle [(getPos shooter1 select 0),(getPos shooter1 select 1),0]

For the 30 second timer I'll think of something else. But I can't figure out how to set these win conditions. How can the game know that two animals have died and the difference between 'real' animals and the player-controlled one? :eek:

Share this post


Link to post
Share on other sites

mmm maybe you can give a name to every animal (animal1, animal2, animal3,...) and create a trigger where if animal1 and animal2 die the game will end...

Probabily there are better ways to do that, waiting for other answers

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×