Home   Help Search Login Register  

Author Topic: Problem with switch triggers...  (Read 1090 times)

0 Members and 1 Guest are viewing this topic.

Offline Blanco

  • Former Staff
  • ****
Problem with switch triggers...
« on: 21 Apr 2005, 15:56:15 »
Here is the situation :

I 'm part of a full squad (12 men) and there is 1 group with a M113 and a humvee.
8 men start in the M113 the rest of them start in the humvee.
At the insertion point all men disembark, the humvee unjoins and moves to a safer place.
The M113 stays behind the group, he will catch up each time my group runs through one of the long squared switch triggers. (see the pic)
I could do this via a script, but I couldn't find a way to do it properly.
The last move waypoint of the M113 is in town and syncronised with an east not present switch trigger.
In that trigger, a bolean obj1completed is set to true and via a script the men remount the M113. If there are more then 8 men left after the battle, the Humvee rejoins,so these men have some transport too.


the pic

The problem :

When the town is clear before the M113 can reach his last waypoint in town, the vehicle won't continue his waypoints. I looks like he's waiting until my group runs through the next switch trigger to catch up.But...
I've put in the condition of each switch trigger :

this OR obj1completed
To make sure he continue when the town is clear... But it doesn't work.  ???

There is no problem with the remounting, I debug that script and it seems to work ok in all possible situations.

Now, this problem is not that bad, because it would be very difficult to clean the town without entering the town, in theory the M113 will reach all his waypoints because the group has to move into town and through all switch triggers...
But I remember Murphy's law  :P ...and I want to know why this happens...

PS : This could sound complex and I can't attach a demo mission because the mission requires lots of addons (FlashFXUR mod + a few others)












Search or search or search before you ask.