GetPickupPropertyValue: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
Line 14: Line 14:
<syntaxhighlight lang="Lua">
<syntaxhighlight lang="Lua">
GetPickupPropertyValue(pickupId, "propertyName")
GetPickupPropertyValue(pickupId, "propertyName")
<syntaxhighlight>
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
{{PickupFunctions}}
{{PickupFunctions}}

Revision as of 21:36, 29 December 2019

GetPickupPropertyValue

Type: Function
Context: Server & Client
Introduced: v1.0

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

GetPickupPropertyValue(pickupId, "propertyName")

See also