Home   Help Search Login Register  

Author Topic: Canceled trigger  (Read 979 times)

0 Members and 1 Guest are viewing this topic.

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Canceled trigger
« on: 12 Feb 2005, 16:15:42 »
Can two triggers cancel each other if they cover the same area?

I have two triggers in my MP mission, covering most of the map. One reacting if West is not present. One reacting if resistance is not present. It's a death match. Needles to say, both resistance and west troops are present in the trigger areas at the start of the mission since they are going to fight each other.

But the resistance-not-present trigger fires at the start of mission, although it's obviously shouldn't. And it only fires on the client machines, not on the server.

I'm puzzled. Can anyone explain this?!?
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Canceled trigger
« Reply #1 on: 12 Feb 2005, 16:36:14 »
i think what the problem is is that triggers(i think) work locally to each computer
so on west the res no present will fire, and on res the west not present will fire, and on server neither will

what you can do is use game logics and an array of the units in each side(one for west, one for res) and run a script from that(since gls are local to server) thats checks wether they are alive or not

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Canceled trigger
« Reply #2 on: 12 Feb 2005, 17:59:25 »
Quote
triggers(i think) work locally to each computer
I have a feeling they are global ... anyway, check snYpir's OFPEC guide:  MP missions and find out.

In any event, the trigger should still not fire at the start.    Are you really sure you have it Resistance NOT present?    It's the sort of thing that's so obvious its easy to overlook.
Plenty of reviewed ArmA missions for you to play

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:Canceled trigger
« Reply #3 on: 12 Feb 2005, 19:14:00 »
Are you really sure you have it Resistance NOT present?    It's the sort of thing that's so obvious its easy to overlook.

Yes, 100% sure. And both west and east starts within their respective trigger areas (the triggers are there to determine when the mission should end). And triggers are very, very global AFAIK.

I made a workaround, using a count this trigger. But I would still want to know the answer to the original question.

EDIT: Ok, hereƂ's the solution...

The condition of the NOT PRESENT trigger must be set to:

local server AND this (instead of just "this")

This should have been quite obvious really, because a not present trigger is actually a trigger that counts units. And all counting should be done only on the server (according to Snypir's MP guide). For some reason I overlooked this. I'm now considering this topic solved. Thanks for all the input.
« Last Edit: 09 Mar 2005, 15:29:54 by nominesine »
OFPEC | Intel Depot
RETARDED Ooops... Retired!