Parameters |
Description |
ScriptHandle targetId |
Target identifier. |
ScriptHandle shooterId |
Shooter identifier. |
float damage |
Damage amount. |
float radius |
Radius of the hit. |
int hitTypeId |
Hit type. |
bool explosion |
True if the hit cause an explosion, false otherwise. |
Syntax: Vehicle.OnHit( targetId, shooterId, damage, position, radius, pHitClass, explosion )
Event that occurs after the vehicle is hit.
Copyright (c) 2012. All rights reserved.
|