GetPickupDimension: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|Gets the dimension of this pickup.}} {{FuncSyntax|GetPickupDimension(pickup)}} {{FuncParameters}} {{FuncParam|pickup|The pick..." |
FlyingFork (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua> | |||
print("Pickup Dimension: " .. GetPickupDimension(pickup)) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:PickupFunctions}} |
Latest revision as of 14:36, 26 June 2021
Description
Gets the dimension of this pickup.
Syntax
GetPickupDimension(pickup)
Parameters
- pickup
The pickup identifier.
Return Value
- Returns the dimension.
Example
print("Pickup Dimension: " .. GetPickupDimension(pickup))
See also
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- SetPickupPropertyValue
- GetPickupPropertyValue
- SetPickupVisibleForPlayers
- GetAllPickups
- CreatePickup
- DestroyPickup
- IsValidPickup
- SetPickupScale
- GetPickupScale
- SetPickupDimension
- GetPickupDimension
- SetPickupVisibility
- SetPickupOutline
- IsPickupStreamedIn