CheckProne( <position>, <yaw>, <is prone> )

Module: AI
SP Only


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


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

Required Args:

  • 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.