Call of Duty Script Documentation

# checkprone(<position>, <yaw>, <is prone>)

## Module

    AI

## Summary

    Returns true when a character can go prone at the specified position. Specifically setup for use by AI characters.

## Call this function on

    <actor> An actor

## Example

    canFitProne = self checkProne(origin, yaw, alreadyProne);

## Minimum Number of arguments: 3

    1 : <position>(vector) The position of the prone character.
    2 : <yaw>(float) The world yaw in degrees.
    3 : <is prone>(bool) Flag if the character is already prone.

## Number of optional arguments: 0

Return to Function List