Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Vehicle::ProcessPassengerDamage Method
Syntax
C++
int ProcessPassengerDamage(IFunctionHandler* pH, ScriptHandle passengerId, float actorHealth, float damage, int hitTypeId, bool explosion);
Parameters 
Description 
ScriptHandle passengerId 
Passenger identifier. 
float actorHealth 
Actor health amount. 
float damage 
Damage amount. 
int hitTypeId 
Damage type. 
bool explosion 
True if there is an explosion, false otherwise. 

!

Vehicle.ProcessPassengerDamage( passengerId, actorHealth, damage, pDamageClass, explosion )

!  

!  

!  

!  

!  

! Processes passenger damages. 

 

Copyright (c) 2012. All rights reserved.