Results 1 to 2 of 2

Thread: Trigger activation on specific unit.

  1. #1
    I did a search on this, but didn't really find anything helpful.

    I need to set a trigger for End #1 on a crowded location. So I cant just say when bluefor is present, because it will end the mission right away.

    The mission is a convoy escort mission, so I want the trigger to go off when a specific unit hits it. (in this case units c1 or c2 or c3 or c4)

    Anyone of the units can hit the trigger to activate it, because the mission requires you to get at least one vehicle through.

    What should I write in the condition box?

  2. #2
    in your init.sqs write:
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
    clist = &#91;c1,c2,c3,c4&#93;
    [/QUOTE]
    in the triggers condition put
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
    &#40;{_x in clist} count thislist&#41; &#62;= 1
    [/QUOTE]

    the other triggers options:
    bluefor
    present
    repeatedly
    end#1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •