GetPickupModel: 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 model of a pickup| params=<source>(pickupid)</source> pickupid : The ID of the pickup to retrieve the model for.| retvals=The model ID of the pickup.| relfuncs= *IsPickupStreamedIn *GetPickupPos *GetPickupAlpha *GetPickupQuantity *GetPickupCount *ClaimPickup }}")
 
No edit summary
 
Line 5: Line 5:
params=<source>(pickupid)</source>
params=<source>(pickupid)</source>
pickupid : The ID of the pickup to retrieve the model for.|
pickupid : The ID of the pickup to retrieve the model for.|
retvals=The model ID of the pickup.|
retvals=The model ID of the pickup. Throws error if pickup not found.|
relfuncs=
relfuncs=
*[[IsPickupStreamedIn]]
*[[IsPickupStreamedIn]]

Latest revision as of 10:43, 15 December 2023

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


Description:
Gets the model of a pickup


Parameters:

(pickupid)

pickupid : The ID of the pickup to retrieve the model for.


Return Values:
The model ID of the pickup. Throws error if pickup not found.



Related Functions

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