Home   Help Search Login Register  

Author Topic: Need 2 conditions met in Trigger ?  (Read 1055 times)

0 Members and 3 Guests are viewing this topic.

Offline sharkyjoe

  • Members
  • *
  • Have you taken a BMP out at 500 meters??
Need 2 conditions met in Trigger ?
« on: 28 Feb 2005, 04:07:52 »
Made a Trigger for when a  West Group(Team1) comes back to home base they go to flagpole and a fire pit. Major1 comes raises the flag and it lights up the fire. The first condition met is the Special Ammo crate blown up. Now the Tricky part, have the Group (Team1) that did the mission also make condition true.

I have guys walking around and Driving jeeps around home base to make it seem like a busy base. I dont want these base gaurds tripping the  ending trigger.

Right Now I have the Trig. set: and Synch to Major1 waypoint
West Active
Present
Condition: not alive(specialcrate)

Is there a way I can add more to the Condtion: because "; "doesnt work for ;Team1 in thislist
I hope I made this clear :-\
Remember the 7 Ps??--- Proper Previous Planning Prevents Pathetically Poor Performance

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Need 2 conditions met in Trigger ?
« Reply #1 on: 28 Feb 2005, 04:18:40 »
put an and in between each condition you want

you can also use &&


I have a suggestion though

group the trigger the the group you want present
then set the east-west stuff (it changes to group, member, etc) and leave everything else the same
« Last Edit: 28 Feb 2005, 04:21:22 by Triggerhappy »

Offline sharkyjoe

  • Members
  • *
  • Have you taken a BMP out at 500 meters??
Re:Need 2 conditions met in Trigger ?
« Reply #2 on: 28 Feb 2005, 05:16:00 »
Nice Shooting TriggerHappy!!!, the "&&" worked gave no error, But, ya knew there be one. The Conditions where not being met. Ah Ya, yet another Twist to this Problem. Your Hint on grouping Jarred My memory and that Worked :)
So Editors, what happened, is that I grouped my six Loons together by going under the Groups F2 heading in editor. Made A Green Box around them, the six loons are now brighter.
Now I Drag a line to the Trigger ( just like i would when adding another loon to my group to make seven but really the trigger is the Seventh)
Now Click and open up the trigger and a Whole new world is upon you.
Vehicles
Groups
Leaderofgroup
anybody  
You get the Idea.. Try it out. it may come hand some Map making day.
Thanks again Triggerhappy Your a Mission Saver!! ;D
Remember the 7 Ps??--- Proper Previous Planning Prevents Pathetically Poor Performance

Offline sharkyjoe

  • Members
  • *
  • Have you taken a BMP out at 500 meters??
Re:Need 2 conditions met in Trigger ?
« Reply #3 on: 02 Mar 2005, 01:08:11 »
I would also like to add to the Above because it took me an additional 2 hours to figure out.
In the Condtion Field of  the trigger i used " this " and then "nameofobject"
So set everything up as above.
Condtion : this and not alive(specialcrate)

Using Name of Group didn't work or various other items i tried.

So Can Aybody tell me why "THIS" works instead and not the name of My Group (Team1)???
Remember the 7 Ps??--- Proper Previous Planning Prevents Pathetically Poor Performance

Dubieman

  • Guest
Re:Need 2 conditions met in Trigger ?
« Reply #4 on: 02 Mar 2005, 02:26:30 »
I'm a bit confused...

But I'll try to make sense of it. :o

"this" is the thing that triggered the trigger. If your whole group in the trigger area triggers the trigger, than that stands for "this". "this" is the result of the trigger in a way...

Simply putting a group name won't work. You need to specify what stands for the group making the condition true(basically a variable). Like in a script....

#loop
?((group distance object) < 5): goto "variable"
#variable
unithere = true

So then in your trigger you could have:

unithere and not alive(specialcrate)

So I hope I didn't confuse you too much. And I hope it explains it to you. :P ;)


Offline sharkyjoe

  • Members
  • *
  • Have you taken a BMP out at 500 meters??
Re:Need 2 conditions met in Trigger ?
« Reply #5 on: 02 Mar 2005, 02:57:52 »
Yes it uuHmmm somewhat makes sense.
Thanks for Explaination.  :)
Remember the 7 Ps??--- Proper Previous Planning Prevents Pathetically Poor Performance