Home   Help Search Login Register  

Author Topic: Trigger Problem  (Read 672 times)

0 Members and 2 Guests are viewing this topic.

shadow99

  • Guest
Trigger Problem
« on: 31 Oct 2004, 01:01:21 »
Hello, I've been fiddling around with methods for hours but I can't get a sequence of triggers to work properly.

I'll lay it all down someone could oh-so-kindly read through and give a suggestion:

In Larche, I have three groups of civilians that are led by Russian officers, but I deleteVehicle'd the officers, so the civilians would attack the NATO forces.

There are two goals here.

1) Is to remove all civilians from a circle trigger span (300 by 300)

2) When the civilians open fire, russian forces are switched and they head to Larche. You are to clear them from the same area the civilian's have (though with a different trigger)

So, firstly I put a trigger down that was basically 'Civilian Not Present' for 300 by 300. On the activation field, I have check1=true.

In basically the same area I have a 'East Not Present' trigger, with the condition field input being 'this and check1=true'. Oh, and it's a switch linked to the western leader's waypoint.

I did this because I thought the trigger would only work when the Civilian one was activated as well. So then I was thinking it'll just activate straight after all the civilians are dead, but when I try it out, I kill all the civilians and the easterns, and still the next waypoint after the western leader's cycle, WILL NOT activate.

Keep in mind, the easterns start outside their trigger's circumference.

So, this is my question:

How do I have the 'East Not Present' trigger activate only when they've entered the area? How do I get it too activate another trigger ONLY when the 'Civilian Not Present' trigger is activated as well?

I've probably confused the hell out of you.  :-\

Thanks.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Trigger Problem
« Reply #1 on: 31 Oct 2004, 01:08:52 »
First of all, your idea is incorrect. The civillian trigger will fire directley, as the civillians counts as easterns. I have no idea why it doesn't fire. Are you sure you've killed all dudes?

:beat: *Gets Shot* :beat:

shadow99

  • Guest
Re:Trigger Problem
« Reply #2 on: 31 Oct 2004, 01:20:09 »
Ah, they will won't they? Never really considered that, but it makes perfect sense. I'm going to try another trigger. Just one, and make it 'East Not Present', because by the time the civs are dead, the russians will be within the trigger's range. I'll let you know how it goes.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Trigger Problem
« Reply #3 on: 31 Oct 2004, 01:31:19 »
Actually, that's not a very good idea, as the easties CAN be delayed. It's better to add all the civvies into an array, make 'em pull back when 90 % are dead. Let the easties in, add 'em to an array and let em pull back at 90 %

:beat: *Gets Shot* :beat:

shadow99

  • Guest
Re:Trigger Problem
« Reply #4 on: 31 Oct 2004, 02:15:30 »
So you think I should have the Civs in, and when 90% are dead, take em out, while the Easties are coming in?

I haven't dealt with percentages before. How would I go about doing that?


Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Trigger Problem
« Reply #5 on: 31 Oct 2004, 02:39:22 »
group the triggers to the people you want present or not present, then it will check for those specific units

so the civilian trigger would check for the civilians grouped to it and the east will check just for the east units you group to it
« Last Edit: 31 Oct 2004, 02:40:03 by Triggerhappy »

shadow99

  • Guest
Re:Trigger Problem
« Reply #6 on: 31 Oct 2004, 02:47:28 »
In which case, would I need to make the 'Civilian Not Present' trigger into an 'East Not Present' trigger because the civilians have an eastern officer?

Oh, and how do I get the civvies/easties to retreat after 90% of their number is gone? I've never used probability or percentages before in OFP.

Thanks for all the help.
« Last Edit: 31 Oct 2004, 02:49:32 by shadow99 »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Trigger Problem
« Reply #7 on: 31 Oct 2004, 02:06:09 »
I'm too drunk to understand this thread but permit me to drop a few pearls of wisdom into it, which may or may not be relevant.

To turn a trigger on or off, use variables.    For example:

Trigger1
On activation:   trig1=true

Trigger2
Condition:   whatever and trig1

To make a trigger fire when the number of east loons in an area drops below a certain number, try something like

Activation:   East present
Condition:   count thislist < 3

I suspect you do need an East trigger rather than a Civvy trigger.

« Last Edit: 31 Oct 2004, 02:06:50 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Trigger Problem
« Reply #8 on: 31 Oct 2004, 02:29:54 »
In which case, would I need to make the 'Civilian Not Present' trigger into an 'East Not Present' trigger because the civilians have an eastern officer?

Oh, and how do I get the civvies/easties to retreat after 90% of their number is gone? I've never used probability or percentages before in OFP.

Thanks for all the help.
you wont need percents and retreating, and when you group units to triggers its no longer east present, west present, etc., it become one unit, whole group, and a couple others, and then present, not present, all that is the same
so like i said it will just check for those specific units to be there or not be there

shadow99

  • Guest
Re:Trigger Problem
« Reply #9 on: 31 Oct 2004, 03:19:43 »
But you can only group a single unit to a trigger.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Trigger Problem
« Reply #10 on: 31 Oct 2004, 08:37:52 »
Incorrect. But it's still a crappy solution. Go for the percentage unless you want to have a mission where the player needs to hunt down the last bloody dude in the area, and he can't find him. I'll tell you once I wake up. 9.10? WTF am I doing up so early?

:beat: *Gets Shot* :beat:

shadow99

  • Guest
Re:Trigger Problem
« Reply #11 on: 31 Oct 2004, 10:03:49 »
Well, in this case I don't need to use percentages (although nobody's told me how yet  ;)) because I've given the enemies very strict waypoints and put in all their init fields 'this allowfleeing 0'. I tried it out myself and there's no hassle.

This problem is fixed now. Thanks to all who posted in this thread.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Trigger Problem
« Reply #12 on: 31 Oct 2004, 14:14:38 »
Allright then. Less typing for me. ;D

:beat: *Gets Shot* :beat: