Home   Help Search Login Register  

Author Topic: Stop Soldiers Moving There Heads...  (Read 444 times)

0 Members and 1 Guest are viewing this topic.

CopyrightPhilly

  • Guest
Stop Soldiers Moving There Heads...
« on: 18 Jul 2004, 04:25:09 »
ok i have tryed all i know for this...

unitname disableAI "Move"
unitname disableAI "autotarget"
unitname disableAI "target"

but they still look around...

i'v made a camera scrip that zooms in to all the soldiers so i want then to keep there heads still so that you can see there face and not there head...

i also tryed

unitname dotarget "bossman"

and

unitname dotarget "bossman"

bossman being a soldier thats facing the rest of the soldiers but still they cant seem do keep there heads still, do these soldiers need medication?  ;D

cheers, Philly

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Stop Soldiers Moving There Heads...
« Reply #1 on: 18 Jul 2004, 10:01:59 »
Try the dowatch command, or if that doesn't work try dotarget.

Quote
doWatch position
Operand types:
    position: Array
Type of returned value:
    Nothing
Description:
    Order unit to watch given position (format Position) (silent).

Example:
    soldierOne doWatch getMarkerPos "MarkerMoveOne"


--------------------------------------------------------------------------------

doWatch target
Operand types:
    target: Object
Type of returned value:
    Nothing
Description:
    Order unit to move to watch given target (silent).

Example:
    soldierOne doWatch player
Not all is lost.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Stop Soldiers Moving There Heads...
« Reply #2 on: 19 Jul 2004, 18:59:53 »
If you want to make them look in a specific direction rather than just look at something you could try toadlife's  Face direction script from the Editors Depot