OnPickupDestroyed
From Onset Developer Wiki
Description
Event called when a pickup instance was destroyed through DestroyPickup.
Syntax
OnPickupDestroyed(pickup)
Parameters
- pickup
The pickup which was destroyed.
Example
function OnPickupDestroyed(pickup)
print("Pickup "..pickup.." was destroyed")
end
AddEvent("OnPickupDestroyed", OnPickupDestroyed)