Jump to content
Sign in to follow this  
AT Soldier

Mission ending after killing X men from the East

Recommended Posts

Ok, I'm making a sniping mission where I want the mission to end after killing, say 12 men from east.

What do I write on the trigger ?

I don't want to kill all the men from the east , only whatever the mission specifies.

Anyone ?

//Niklas

Share this post


Link to post
Share on other sites

put this in the init of some object, your player for example:

easttotal = east countSide allUnits

and then create an end-trigger with the following condition:

east countSide allUnits <= easttotal - 12

This trigger works as long as you don't spawn any additional enemies after starting the mission.

The 12 could also be replaced with an parameter from your description.ext, but that you'll have to lookup on your own.

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  

×