OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: royalman51 on 26 Jun 2005, 10:19:08

Title: stand still
Post by: royalman51 on 26 Jun 2005, 10:19:08
Who can i make a unit not to go prone, when a shot is fired?
Title: Re:stand still
Post by: bedges on 26 Jun 2005, 10:25:21
Code: [Select]
unit_name setbehaviour "careless"
or

Code: [Select]
unit_name setunitpos "up"
Title: Re:stand still
Post by: CopyrightPhilly on 26 Jun 2005, 10:25:29
in the units init put
this setUnitPos "up"; this disableAI "Move"




i'v got to start and wait 10 mins to see if bedges posts first...
Title: Re:stand still
Post by: bedges on 26 Jun 2005, 10:34:36
more like 10 seconds ;)