CheckGrenadeLaunch( <barrel offset> )


Module: AI
SP Only

Summary:

Checks whether the actor can launch a grenade at his target. If he can't then result will be undefined, otherwise the result is the resultant velocity vector



Call this on:

<actor> An actor



Example:

throwvel = self CheckGrenadeLaunch( offset );



Required Args:

  • 1 : <barrel offset> (vector) the estimated offset of the grenade launcher barrel