GetPickupPropertyValue: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Server & Client|1.0}} {{FuncDescription|Gets a property value for this entity.}} {{FuncSyntax|GetPickupPropertyValue(pickup, PropertyName)}} {{FuncParameter..." |
No edit summary |
||
Line 12: | Line 12: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
GetPickupPropertyValue(pickupId, "propertyName") | |||
<syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{PickupFunctions}} |
Revision as of 14:28, 29 December 2019
Description
Gets a property value for this entity.
Syntax
GetPickupPropertyValue(pickup, PropertyName)
Parameters
- pickup
The pickup identifier - PropertyName
Name of the property variable
Return Value
- Returns the value.
Example
<syntaxhighlight lang="Lua"> GetPickupPropertyValue(pickupId, "propertyName") <syntaxhighlight>
See also
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- SetPickupPropertyValue
- GetPickupPropertyValue
- SetPickupVisibleForPlayers
- GetAllPickups
- CreatePickup
- DestroyPickup
- IsValidPickup
- SetPickupScale
- GetPickupScale
- SetPickupDimension
- GetPickupDimension
- SetPickupVisibility
- SetPickupOutline
- IsPickupStreamedIn