IsValidPickup
From Onset Developer Wiki
Description
Check if the specified pickup is valid or not.
Syntax
IsValidPickup(pickup)
Parameters
- pickup
The pickup identifier.
Return Value
- Returns true on success.
Example
function DestroyPickup(pickup)
if IsValidPickup(pickup) then
DestroyPickup(pickup)
end
end
See also
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- SetPickupPropertyValue
- GetPickupPropertyValue
- SetPickupVisibleForPlayers
- GetAllPickups
- CreatePickup
- DestroyPickup
- IsValidPickup
- SetPickupScale
- GetPickupScale
- SetPickupDimension
- GetPickupDimension
- SetPickupVisibility
- SetPickupOutline
- IsPickupStreamedIn