Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::ThrowGrenade Method
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_*) 

!

AI.ThrowGrenade(entityId, grenadeType, regTargetType)

! Throws a specified grenade at target type without interrupting fire mode.!  

!  

!  

 

Copyright (c) 2012. All rights reserved.