Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::SetUseSecondaryVehicleWeapon Method
Syntax
C++
int SetUseSecondaryVehicleWeapon(IFunctionHandler* pH);
Parameters 
Description 
entityId 
AI's entity id 
bUseSecondary 
TRUE to use the secondary weapon 

!

AI.SetUseSecondaryVehicleWeapon(entityId, bUseSecondary)

! Sets if the AI should use the secondary weapon when firing from a vehicle gunner seat if possible.!  

!  

SetUseSecondaryVehicleWeapon

Copyright (c) 2012. All rights reserved.