Jump to content
Sign in to follow this  
Milkman

Empty unit triggers

Recommended Posts

I am making a Weapons demolision mission that takes place after the war is over. It involves you going around and blowing up left over Soviet hardware, except i got one, no three problems.

1- How do I make a trigger that will activate when 3 empty T80s, a bmp2, and a T72 are destroyed?

2- How can I make it so when I demolish the empty tanks, the AI dosnt kill me? (Setcaptive true isnt an option)

3- This deals with a waypoint I have; how do I activate an objective complete trigger ("1" objstatus "done") when a soldier joins my squad?

Any help would be appreciated guys smile.gif

Share this post


Link to post
Share on other sites

1) name empty vehicles (t1,t2,t3,t4,b1)

triger condition :

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

("alive _x" count [t1,t2,t3,t4,b1]) == 0

<span id='postcolor'>

3) If you have done joining by wp you can put "1" objstatus "done" in on activation line of join and lead wp.

Or you can make trigger with condition :

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

soldier in (units group player)

<span id='postcolor'>

not tested

Share this post


Link to post
Share on other sites

I am not sure that will work, you can always use the more messy way:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">not (alive t1) AND not (alive t2) AND not (alive t3) AND not (alive t4) AND not (alive b1)<span id='postcolor'>

RED

Share this post


Link to post
Share on other sites

I dont understand question number 2. Wich soldiers attack you when you do what?

Share this post


Link to post
Share on other sites

For #2, increase your <span style='color:blue'>rating</span> (score) so they do not want to kick your butt. I think that's what you meant?

Share this post


Link to post
Share on other sites

Alright, I know what to do. I unPBOed the campaign and looked at the mission Sabetour and it had the necessary information. Thanks for the help anyways.

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  

×