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 ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
GetPickupPropertyValue(pickupId, "propertyName")
<syntaxhighlight>


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

Revision as of 14:28, 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

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

See also