Home   Help Search Login Register  

Author Topic: Trigger switches before condition is met!!  (Read 610 times)

0 Members and 1 Guest are viewing this topic.

Mooseman

  • Guest
Trigger switches before condition is met!!
« on: 21 Aug 2003, 11:02:49 »
Hi,

I have some annyoing problem with the "Sentry"-WP and its syncronization; setup is as follows:

One group of M1A1-tanks (west) has 2 WPs: 1. "Sentry", 2. "Get out" (or "Disembark" or whatever, I have a German copy of OFP)

One BMP attacks immediately and another T80 arrives somewhat later.

One trigger checks, if east is not present and if true sets variable Obj=true; the radius of the trigger covers both BMP and T80.

Another trigger (type: switch, condition: Obj) is synchronized to WP1.

Desired result: West-Tanks attack BMP, then T80 on arrival; after BMP and T80 are down, the tank crews exit

Actual result: West Tanks attack BMP and exit when BMP is down but T80 is still present.

What do I have to do in order to get the result desired?

Thanks in advance!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Trigger switches before condition is met!!
« Reply #1 on: 21 Aug 2003, 11:18:39 »
I'm not sure what's going wrong .... but here's what I suggest.

Change the sentry waypoint to hold.    Make both the BMP and the T80 allowfleeing 0.

Delete both triggers.

Create a new trigger, covering the start positions of the east armour and the whole battle area and synchroed to the hold waypoint:-

Activation box:   East not present
Type:   switch
On activation:   hint  "debugger - trigger fired"

Alternatively fire the trigger when both the BMP and the T80 are not canFire and not canMove.    

In general, you shouldn't synch a trigger to a sentry waypoint because that waypoint essentially has an embedded switch trigger anyway.    A group at a sentry waypoint will stay there till they detect the enemy, then they will move to the next waypoint.    That may be what's happening here - they detect the BMP, destroy it because it's close enough and then move on the to the next waypoint ignoring the T80.   The trigger is also being ignored.    

Hold waypoints, on the other hand, are idea for switch triggers.    The group will stay there, moving away slightly to pursue the enemy if appropriate but always returning to the waypoint.    The only way a group can get past a hold waypoint to another one is by means of a switch trigger.
Plenty of reviewed ArmA missions for you to play

Mooseman

  • Guest
Re:Trigger switches before condition is met!!
« Reply #2 on: 21 Aug 2003, 12:39:13 »
Thanks Mac,

but here's another thing:

I think I told you the wrong WP-type. It's "Guard" instead og "Sentry" (Sorry for that).

Now as far as I know, a Guard-WP is never finished. That would mean in my example that the Switch-Trigger fires before the condition is met.

I'll try you workaround, but it's not just what I need because I need the tanks to clear the battlefield and an "Guard"-WP is perfect for it. I just need it to end after the clean-up's done.

Sorry again for mis-describing the setup, and thanks again, Mac. Maybe you've got another idea!?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Trigger switches before condition is met!!
« Reply #3 on: 21 Aug 2003, 13:01:37 »
Guard is certainly better than Sentry.   However, I'm not convinced that Guard is what you want either.    Hold or Seek & Destroy/Cycle seem more appropriate to me.

Anyway, whatever the waypoint there is clearly a problem with the triggers.   Try my suggestion and report back .....
Plenty of reviewed ArmA missions for you to play

Mooseman

  • Guest
Re:Trigger switches before condition is met!!
« Reply #4 on: 21 Aug 2003, 15:05:31 »
Okay, I'll try and report back. Might take a while since I'm not at my computer at present...

Here's another Tip I got from another forum

Quote

Get rid of the second trigger and put 'true and Obj' as the condition of the first waypoint.  

What do you think?!

KyleSarnik

  • Guest
Re:Trigger switches before condition is met!!
« Reply #5 on: 21 Aug 2003, 15:09:58 »
Heres the deal with gaurd WPs. If you have a gaurd WP you need a trigger that has Gaurded By in it. For example. East detected by west - Gaurded by west. That means if a unit has a Gaurd WP, it will move to the place where the enemy was detected.

As for your situation, do what macguba said with hold WPs.

Mooseman

  • Guest
Re:Trigger switches before condition is met!!
« Reply #6 on: 21 Aug 2003, 15:42:02 »
Thanks Kyle; I'll try that too...

The only thing about the "HOLD"-WP is that the tanks don't do the cleanup and support for other troops on their side as they do when in "Guard" mode... Instread they return to the "HOLD"-WP.

It's nice to have some tank support when you do infantry action  ;) It would be daft to have none then ther are tanks around... :'(

KyleSarnik

  • Guest
Re:Trigger switches before condition is met!!
« Reply #7 on: 21 Aug 2003, 15:48:54 »
One thing I forgot to mention. If you use a Gaurd WP, the unit will move to the center of the Guarded By trigger while its on "Gaurd Duty". So for best results place the trigger over the Gaurd WP

Mooseman

  • Guest
Re:Trigger switches before condition is met!!
« Reply #8 on: 21 Aug 2003, 20:21:15 »
@ MAC:

Promised to report back:

Quote
Change the sentry waypoint to hold.    Make both the BMP and the T80 allowfleeing 0.

Delete both triggers.

Create a new trigger, covering the start positions of the east armour and the whole battle area and synchroed to the hold waypoint:-

Activation box:  East not present
Type:  switch
On activation:  hint  "debugger - trigger fired"
Works fine the way you told me!

@Kyle:

Thank you too!!!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Trigger switches before condition is met!!
« Reply #9 on: 21 Aug 2003, 22:09:34 »
Hooray!!  Always nice to know if it works.



Kyle, I'm not sure that you need a guard trigger to make a guard waypoint work.   My understanding is that groups on guard WPs favour areas covered by guard triggers, but they are capable of being sent to other areas if that's where the action is.

It is true that if there is a guard trigger a guard group will go to the middle of the trigger area.
Plenty of reviewed ArmA missions for you to play

KyleSarnik

  • Guest
Re:Trigger switches before condition is met!!
« Reply #10 on: 22 Aug 2003, 01:11:59 »
Well I always throw in a guard trigger just in case  ;D ;D

Mooseman

  • Guest
Re:Trigger switches before condition is met!!
« Reply #11 on: 31 Aug 2003, 17:29:48 »
Hi boys... Again, I have a similar problem as above. Maybe you can help out again...

A group has 3 WPs:

1. Hold

2. Talk - Condition is "Obj1"

3. Join and Lead - Condition is "Obj2"

There a 2 triggers; T1 sets "Obj1" and T2 set "Obj2" true when fired.

Now what happens is that after T1 is fired, WP2 is skipped and WP3 is shown although T2 isn't fired yet.

Any Ideas??