OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Miggie on 13 Apr 2005, 16:38:50

Title: Unit Problem
Post by: Miggie on 13 Apr 2005, 16:38:50
How can you make sure that units ( that are part of your group )
do not move when you move, i tried to set the mon behaviour "Safe"
but they still move , i want  them to stand still

Mi//ie
Title: Re:Unit Problem
Post by: StonedSoldier on 13 Apr 2005, 16:41:06
commandStop nameofunit
Title: Re:Unit Problem
Post by: Miggie on 13 Apr 2005, 16:42:37
thank you very mucho

mi//ie
Title: Re:Unit Problem
Post by: Miggie on 13 Apr 2005, 16:43:41
another one ,

how can you make units sit down via a trigger or the unit init line

Mi//ie
Title: Re:Unit Problem
Post by: bedges on 13 Apr 2005, 16:49:32
as far as i know animations can't be triggered via the init line.

create a smallish trigger, group it with the loon you want to sit, and in the 'on activation' box put

Code: [Select]
loon_name switchmove "EffectStandSitDownStill"
that should work. :)
Title: Re:Unit Problem
Post by: Miggie on 13 Apr 2005, 16:58:43
found it already

in player init line type : this setbehaviour "SAfe"
then u make trigger and u type

unitname action ["Sitdown"]

Title: Re:Unit Problem
Post by: bedges on 13 Apr 2005, 16:59:56
or that ;)