GetPickupPos: Difference between revisions
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 position of a pickup| params=<source>(pickupid)</source> pickupid : The ID of the pickup to retrieve the position for.| retvals=A Vector containing the x, y, and z coordinates of the pickup's position.| }}") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
params=<source>(pickupid)</source> | params=<source>(pickupid)</source> | ||
pickupid : The ID of the pickup to retrieve the position for.| | pickupid : The ID of the pickup to retrieve the position for.| | ||
retvals=A Vector containing the x, y, and z coordinates of the pickup's position.| | retvals=A Vector containing the x, y, and z coordinates of the pickup's position. Throws error if checkpoint with the ID is not found.| | ||
relfuncs= | |||
*[[IsPickupStreamedIn]] | |||
*[[GetPickupModel]] | |||
*[[GetPickupAlpha]] | |||
*[[GetPickupQuantity]] | |||
*[[GetPickupCount]] | |||
*[[ClaimPickup]] | |||
}} | }} |
Latest revision as of 10:42, 15 December 2023
This function was added in v1.7 beta and will not work in previous versions.
Description:
Gets the position of a pickup
Parameters:
(pickupid)
pickupid : The ID of the pickup to retrieve the position for.
Return Values:
A Vector containing the x, y, and z coordinates of the pickup's position. Throws error if checkpoint with the ID is not found.
Related Functions
The following functions may be helpful as they relate to this function in one way or another.