How to detect vehicle damage
#1

I would like to add to my GM that if a player is in a vehicle and crashes (looses at least 5 vehicle hp) the player in the vehicle looses 10 health points. How would I detect if the vehicle crashes (and looses at least 5hp)?

Thanks: jakejohnsonusa
Reply
#2

you can check the sate of the vehicle with GetVehicleDamageStatus

or to get the HP when its hit use: public OnVehicleDamageStatusUpdate
then from there just check the HP
Reply
#3

Thanks +1 Rep.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)