GetPickupPropertyValue

From Onset Developer Wiki
Revision as of 14:28, 29 December 2019 by 28days (talk | contribs)
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

<syntaxhighlight lang="Lua"> GetPickupPropertyValue(pickupId, "propertyName") <syntaxhighlight>

See also