Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
ThrowGrenade
Syntax
C++
int ThrowGrenade(IFunctionHandler * pH);
Parameters 
Description 
entityId 
AI's entity id 
grenadeType 
Requested grenade type (see ERequestedGrenadeType) 
regTargetType 
Who to throw at (see AI_REG_*)
 

Syntax: AI.ThrowGrenade(entityId, grenadeType, regTargetType) 

throws a specified grenade at target type without interrupting fire mode

Copyright (c) 2012. All rights reserved.