@Wadman;
!alive unit OR not alive unit
are both the same
! = not and means the contrary of YES ;D
@Gooner861
The new assigned leader is nothing weird, as ofp's groups
do always get assigned to a new leader (highest ranking
unit of the group or the next member in the row if all are of
the same rank).
The units just laying there to get picked off by the sniper may
be caused by the waypoints settings (the one in the forrest).
Behaviour: STEALTH/COMBAT will make them do that - while
even AWARE or SAFE would cause the same effect in case of
a sniper swinging his rifle around is in the near.
I would suggest you type the following code into the switch
trigger's onActivation field to prevent this effect:
"_x setunitpos {UP}" forEach units groupname
And at the waypoint in the forrest you can use it's onActivation
field to reset it:
"_x setunitpos {AUTO}" forEach units groupname
:note - this will only work for a non-obsolete waypoint, like
a move waypoint. If it is a guard/hold waypoint in the
woods there, then the onActivation field won't become executed
once the group arrived there. A move wayopint will still execute
the onAct field, even if it's the last waypoint of a group.
Also note that you should not use the onActivation field of the
waypoint, which you have syncronized to the switch trigger,
as it will never become executed.
onActivation field is waiting to be executed on the switch trigger
switch trigger gets triggered
group will be forced to the next waypoint after the syncronisation - and therefore onActivation field of syncronized
waypoint becomse ineffective.
~S~ CD