OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Bitty2004 on 14 Feb 2004, 23:50:25

Title: Set Captive?
Post by: Bitty2004 on 14 Feb 2004, 23:50:25
Im hoping someone will be able to help here without using scripts. I cannot
remember how to set a man as a captive so he doesn't get smashed to bits.
Please if anyone can help it will be much appreciated.

Thanks

Bitty2004
Title: Re:Set Captive?
Post by: oyman on 14 Feb 2004, 23:56:56
in the init line of the soldier you dont want to get shot at put in

this setcaptive true
Title: Re:Set Captive?
Post by: PureMassacre on 14 Feb 2004, 23:57:41
Try:

Code: [Select]
this setCaptive true
Never used it before, so i can't promise it works
Title: Re:Set Captive?
Post by: The-Architect on 15 Feb 2004, 01:32:28
Yep that's it and it's,

This setcaptive false

to change him back.
Title: Re:Set Captive?
Post by: Bitty2004 on 15 Feb 2004, 11:57:59
Thanks boys For replying so fast.