OV_HurtEvent

Called when an overvehicle recieves damage

Calling

To call this event, simply pass an Overvehicle and the damage as an int.

OV_HurtEvent.Call(Overvehicles.OVERWING,10);

LAPI will refuse to deal negative damage.

Listening

You can use the LAPIListener to listen to this event.

Effects

The OV's HP will be lowered with the given amount, or until 0.

Last updated

Was this helpful?