Call of Duty Script Documentation

checkgrenadethrowpos( <hand offset>, <method>, <targetpos> )


Module
AI


Summary


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

Call this function on


<actor> An actor

Example


throwvel = self checkGrenadeThrowPos(armOffset, "min energy", targetPos);

Minimum Number of arguments: 3


Number of optional arguments: 0



Return to Function List