OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: The-Architect on 10 Jan 2004, 15:25:48

Title: Unit don't move.
Post by: The-Architect on 10 Jan 2004, 15:25:48
Hi, I have a problem with units who won't keep still.

How can i make a unit unable to move via the init field?

Something like      >      muppet1 canmove false        <

cheers.
Title: Re:Unit don't move.
Post by: Planck on 10 Jan 2004, 15:33:15
Have you tried:

doStop muppet1


Planck
Title: Re:Unit don't move.
Post by: Artak on 10 Jan 2004, 16:10:16
Or if you never ever need them to move use
unitname disableai "move"
Title: Re:Unit don't move.
Post by: LCD on 10 Jan 2004, 19:03:55
or

unitname stop true

wich means dey wont move or shot  :-X nd deyll keep lookin were u want em (in dostop theyll spin around and somtimes it wont work w/ group leaders i think)

nd 2 make em move n shot again do

unitname stop false

LCD OUT