Welcome, Guest Sunday 20th April 2014, 11:48:18
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: Present trigger questions  (Read 200 times)
0 Members and 1 Guest are viewing this topic.
laggy
*
Offline Offline


"Behold a pale horse"


« on: 13 Jul 2010, 21:30:28 »

In a mission I have a group leader which is "grouped" with 2 markers. This way the leaders group start position will be randomized and become one out of possible 3, original start position + 2 more represented by the markers. This as you know is a MP safe old school BIS function. You just have to put the leading unit's special on "None" and the rest of the group members on "In Formation".

However, depending on where the group actually starts (depending on the randomness with markers) I want the units to join a another group which is in the area of the groups actual start position (meaning after the randomness is set).

I have a trigger measuring "Any group Member Present" on all three locations (timeout 10 sec.), and if the trigger fires the leaders group joins the closest group. In SP this works perfectly, the group joins the group closest to their actual start position.

In MP however, it seems like the units always join the group closest to their original (before marker randomness) start position.

Do triggers measuring present/not present work safely in MP? Or is the only good solution to measure the groups actual position just on the server as in: "Any group Member Present", "this AND isServer"?

All the groups involved are AI, local to the server.

Thanks in advance,

Laggy

Logged

And I looked and beheld a pale horse and his name that sat on him was Death and Hell followed with him.
F2kSel
*
Offline Offline


« Reply #1 on: 14 Jul 2010, 03:07:30 »

I've not done any MP but how about setting the other triggers to off before the one that's causing the problems to see if it still happens.

failing that you may have to do a distance check.
Logged
laggy
*
Offline Offline


"Behold a pale horse"


« Reply #2 on: 14 Jul 2010, 10:48:47 »

Thanks  Good

Quote
failing that you may have to do a distance check.

I think that will be the safest solution after all and only run it on the server.

Laggy
Logged

And I looked and beheld a pale horse and his name that sat on him was Death and Hell followed with him.
nominesine
Intel Depot
Administrator
*****
Offline Offline


I'm NOT back!


WWW
« Reply #3 on: 14 Jul 2010, 14:39:07 »

The trigger works in MP, but it may take a while for the system to recognize the new starting position of the random unit. Hence the first trigger may fire, even if the unit in question will end up in another location a split second later. The distance check should solve your problem (I had a similar problem a few days ago).
Logged

OFPEC | Intel Depot
RETARDED Ooops... Retired!
Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: