Jump to content
Sign in to follow this  
reconNinja

In command

Recommended Posts

So I have to helicopters. Upon entering one, music is played. The other identical helo doesn't play music, so as to skip it after a few missions when the music may become redundant.

In a trigger, here's the condition:

bighax in ch01

where bighax is the group the players are comprised of, and ch01 is the name of the helicopter that is to trigger music to be played. but i get some error when i start to play... and bighax in ch01 == true or == 1 yields an error in the editor. This should be really easy...

And while I'm on the subject of looking like a n00b, is there a wait/delay command for the ingame mission editor?

Share this post


Link to post
Share on other sites

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

leader bighax in ch01

Sorry, can't follow you quite for the second question.

And (generally), what's all that fuss about that noob thing? Is there some shame in it, if the person is a noob? Every problem is-looks hard to solve, until you don't know a solution-answer to it, and every problem looks pretty easy (like this one wink_o.gif ), when you do know-learn the answer on it...

Share this post


Link to post
Share on other sites

Dont quite understand, if you posted your EXACT code we may be further.

Maybe what you are after is, in the condition field

Quote[/b] ](group bighax in crew ch01)

untested

Share this post


Link to post
Share on other sites

that was the code, bighax in ch01. but it didnt work. maybe adding 'crew' will.

as for the time delay, i just used a .sqs file. I try to keep scripts out of my missions, but sometimes its unavoidable.

and sorry about the noob thing:/

thanks for the help d00dz

Share this post


Link to post
Share on other sites

Im sure there are other ways, but this should work:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">(Count ((Units bighax)-(Crew ch01))==0)

The trigger will be activated when all group members are aboard, dead or alive.

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  

×