OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: seanver on 22 Aug 2002, 21:32:00

Title: Staring
Post by: seanver on 22 Aug 2002, 21:32:00
Is it possible to make a unit stop moving his head to stare other units?
Title: Re:Staring
Post by: KTottE on 22 Aug 2002, 21:41:42
UnitName disableAI "autotarget"

ought to do it.
Title: Re:Staring
Post by: Kaliyuga on 22 Aug 2002, 21:56:45
Good concept there KTottE, but wouldn't using:

unitname dowatch targetname

suffice in this situation?
Title: Re:Staring
Post by: KTottE on 22 Aug 2002, 22:05:05
Yes, that would probably suffice, if it had worked the way it should have.
I've often run across situations where Unit1 is still moving his head around even if I tell him to watch Unit2.
DisableAI "autotarget" tells him to keep his attention directed forward at all times. Or rather, it tells him not to direct his attention anywhere, which results in him looking straight forward.
Title: Re:Staring
Post by: seanver on 22 Aug 2002, 22:54:20
It looks like it worked. Thanks