OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Chaos_Creator on 02 May 2003, 05:51:32

Title: Making units stay in a vehicle under fire
Post by: Chaos_Creator on 02 May 2003, 05:51:32
Does anyone know how to make a group of infantry stay inside an APC or Truck, even in the APC/Truck is under fire? Everytime the convoy comes under fire the idiot infantry dismount and try to get back in...it's killing me.

I'm trying to get the infantry across a bridge, because we all know ofp AI sucks at crossing bridges under fire.
Title: Re:Making units stay in a vehicle under fire
Post by: CrashnBurn on 02 May 2003, 09:34:37
groupname setbehaviour "CARELESS"; groupname setcombatmode "BLUE"

If the vehicle is damaged to where it won't move, they're going to get out of it no matter what.