GetPickupPos: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
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.|
relfuncs=*[[GetPickupModel]]
relfuncs=
*[[IsPickupStreamedIn]]
*[[GetPickupModel]]
*[[GetPickupAlpha]]
*[[GetPickupQuantity]]
*[[GetPickupCount]]
*[[ClaimPickup]]
}}
}}

Revision as of 07:22, 25 August 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.



Related Functions

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