Call of Duty 4: Scripting Reference - AI::AllowedStances

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


AllowedStances( <stance> ... )

Module: AI
SP Only

Summary:

Sets the list of the actor's allowed stances.


Call this on: <actor> An actor

Example:

 self AllowedStances( "crouch", "prone" );

Required arguments:

  1. <stance> (string) A stance, can be 'prone', 'crouch', 'stand'. Any number of stances may be added.


Optional arguments:

none


Notes:

none