OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: sharkyjoe 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 :-\
-
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
-
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
-
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)???
-
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 ;)
-
Yes it uuHmmm somewhat makes sense.
Thanks for Explaination. :)