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

Syntax: AI.SetUseSecondaryVehicleWeapon(entityId, bUseSecondary) 

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

Copyright (c) 2012. All rights reserved.