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

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Revision as of 23:51, 30 July 2009 by CoDEmanX (talk | contribs) (New page: {{Function |Version=4 |Name=IsStanceAllowed( <stance> ) |Module=AI |Available=SP Only |Summary=Checks whether this actor can go to the given stance. |Call_on=<actor> An actor |...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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