OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: CopyrightPhilly on 17 Jul 2004, 15:02:22

Title: Dont Target Soldier?
Post by: CopyrightPhilly on 17 Jul 2004, 15:02:22
Hi

I'm trying to make a soldier stand with his hands on his head in the middle of an enamy base. Now is there any way to stop the enamy soldiers by targeting him?

now i know i couple group him to one of the enamy but this will not work for me in the long run because i will be settings him waypoints.

cheers, Philly
Title: Re:Dont Target Soldier?
Post by: Aquaphonic on 17 Jul 2004, 15:30:25
Have you tried making your unit a captive?

unitname setcaptive true;

If you want them to target him later then change it to

unitname setcaptive false;


Hope that is what u mean.
Title: Re:Dont Target Soldier?
Post by: CopyrightPhilly on 17 Jul 2004, 15:35:25
just what i wanted, works 100%

cheers bud

Philly