Jump to content
Sign in to follow this  
Nano Soft

Help please!

Recommended Posts

I have a problem, in my mission you have to destroy four empty SU-25s. But I don't know how to make the triger. I named the empty SU-25s Bob1, Bob2, Bob3 and Bob4.

Share this post


Link to post
Share on other sites

Do you mean you don't know how to create a trigger? If so, then press F3 and double click near your planes. Make sure Axis A and Axis B are big enough to encompass all the planes, then hit OK. You can always double-click on the trigger to resize it if need be.

.....

But I'm guessing that's not what you mean, so that's for the newbies smile_o.gif

If you mean you want the trigger to detect when all four planes have been destroyed, then do this:

1. Create the trigger

2. In the Condition field, replace 'this' with...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">NOT (alive bob1) AND NOT (alive bob2) AND NOT (alive bob3) AND NOT (alive bob4)

...this will detect if these units are 'alive' (in the area the trigger's axis' are covering).

3. Put in the On Activation field, something like

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">hint "Objective Completed"

...so you know the trigger is working fine

4. Test

5a. If successful, replace this with "1" objStatus "DONE" or whatever you want to happen when the trigger is tripped

5b. If not, make sure the units are named what they are in the trigger, and make sure the names in the trigger are correct

6. Test again! smile_o.gif

Hope that helps

[Gareth Gates must die]

Share this post


Link to post
Share on other sites

do you mean you want an objective to be checked when you blow all of them up?

if so you could but in a condition box:

(getdammage bob1>=1 ) AND (getdammage bob2 >=1) etc

then in the activation box put:

"1" objstatus "DONE" (if , of course it's the first objective in your briefing)

Your question wasn't very clear.  is that what you were asking?

EDIT:

slow slow slow!!! well hey I'm new to this forum!!

Share this post


Link to post
Share on other sites
Do you mean you don't know how to create a trigger? If so, then press F3 and double click near your planes. Make sure Axis A and Axis B are big enough to encompass all the planes, then hit OK. You can always double-click on the trigger to resize it if need be.

.....

But I'm guessing that's not what you mean, so that's for the newbies smile_o.gif

If you mean you want the trigger to detect when all four planes have been destroyed, then do this:

1. Create the trigger

2. In the Condition field, replace 'this' with...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">NOT (alive bob1) AND NOT (alive bob2) AND NOT (alive bob3) AND NOT (alive bob4)

...this will detect if these units are 'alive' (in the area the trigger's axis' are covering).

3. Put in the On Activation field, something like

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">hint "Objective Completed"

...so you know the trigger is working fine

4. Test

5a. If successful, replace this with "1" objStatus "DONE" or whatever you want to happen when the trigger is tripped

5b. If not, make sure the units are named what they are in the trigger, and make sure the names in the trigger are correct

6. Test again! smile_o.gif

Hope that helps

[Gareth Gates must die]

Yeah I think I know how to make a triger, wouldn't really be able to even make a mission if I didn't.

The secound thing you said is what I need, and thank you! Now I can complete my mission.

PS when you want the thing to say it is done you go to effects and put

Quote[/b] ]"_#" objstatus "done"

Yep I think that is it.

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  

×