GetPickupAlpha: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.7 beta and will not work in previous versions. </poem> {{Welcome|desc=Gets the alpha value of a pickup| params=<source>(pickupid)</source> pickupid : The ID of the pickup to retrieve the alpha value for.| retvals=The alpha value of the pickup.| relfuncs= *IsPickupStreamedIn *GetPickupPos *GetPickupModel *GetPickupQuantity *GetPickupCount *[...")
 
No edit summary
 
Line 5: Line 5:
params=<source>(pickupid)</source>
params=<source>(pickupid)</source>
pickupid : The ID of the pickup to retrieve the alpha value for.|
pickupid : The ID of the pickup to retrieve the alpha value for.|
retvals=The alpha value of the pickup.|
retvals=The alpha value of the pickup. Throws error if pickup was not found.|
relfuncs=
relfuncs=
*[[IsPickupStreamedIn]]
*[[IsPickupStreamedIn]]

Latest revision as of 10:44, 15 December 2023

This function was added in v1.7 beta and will not work in previous versions.


Description:
Gets the alpha value of a pickup


Parameters:

(pickupid)

pickupid : The ID of the pickup to retrieve the alpha value for.


Return Values:
The alpha value of the pickup. Throws error if pickup was not found.



Related Functions

The following functions may be helpful as they relate to this function in one way or another.