OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: AE7THSF on 22 Jan 2003, 11:40:10

Title: damn convoy wont stop
Post by: AE7THSF on 22 Jan 2003, 11:40:10
i want it so when any  1 of the  units in the convoy is fired at they take up a guard pos and if they have soldiers in a truck they get out and guard

Title: Re:d**n convoy wont stop
Post by: MorMel on 26 Jan 2003, 02:43:02
What if u set a trigger activated when '_convoy KnowsAbout _assailant > 1'?

With this condition (or a 'Detected by convoy's side' type trigger) the convoy's soldier will notice that somebody's approaching... You could have a 'UnassignVehicle' command for each soldiers u wanna have out from the trucks. If u don't want ur soldiers to engage at their will, set their combat mode to HOLD FIRE (_unitname setcombatmode "green") and they'll fire only to protect their selves...

I hope it works...!