Call of Duty 4: Scripting Reference - AI::CheckProne
From COD Modding & Mapping Wiki
CheckProne( <position>, <yaw>, <is prone> )
Module: AI
SP Only
Summary:
Returns true when a character can go prone at the specified position. Specifically setup for use by AI characters.
Call this on: <actor> An actor
Example:
canFitProne = self CheckProne( origin, yaw, alreadyProne );
Required arguments:
- <position>(vector) The position of the prone character.
- <yaw>(float) The world yaw in degrees.
- <is prone>(bool) Flag if the character is already prone.
Optional arguments:
- none
Notes:
- none