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

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


IsStanceAllowed( <stance> )

Module: AI
SP Only

Summary:

Checks whether this actor can go to the given stance.


Call this on: <actor> An actor

Example:

if ( self IsStanceAllowed( "stand" ) )...

Required arguments:

  1. <stance> (string) A stance, can be 'prone', 'crouch', 'stand'.


Optional arguments:

none


Notes:

none