Call of Duty Script Documentation
orientmode( <orient mode>, <face angle> | <direction vector> | <face point> )
ModuleAI
Summary
Set the orient mode of this actor.
Call this function on
<actor> An actor
Example
randAlly OrientMode("face direction", level.player.origin-randAlly.origin );
Minimum Number of arguments: 1
1 : <orient mode> (const string) OrientMode must be 'face angle', 'face current', 'face direction', 'face enemy', 'face enemy or motion', 'face goal', 'face motion', 'face point', or 'face default'
Number of optional arguments: 3
1 : <face angle> (float) The yaw angle to face if orient mode is 'face angle'
2 : <direction vector> (vector) The direction vector to face if orient mode is 'face direction'
3 : <face position> (vector) The point to face if orient mode is 'face point'
Return to Function List