OnDoorNetworkUpdatePropertyValue

From Onset Developer Wiki
Revision as of 21:06, 7 March 2020 by 28days (talk | contribs) (Created page with "{{Info|Function|Client|1.1.0}} {{FuncDescription|Called when a property value is updated from the network.}} {{FuncSyntax|OnDoorNetworkUpdatePropertyValue(door, PropertyName...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
OnDoorNetworkUpdatePropertyValue

Type: Function
Context: Client
Introduced: v1.1.0

Description

Called when a property value is updated from the network.

Syntax

OnDoorNetworkUpdatePropertyValue(door, PropertyName, PropertyValue)

Parameters

  • door
    The door identifier.
  • PropertyName
    The name of the property that has changed.
  • PropertyValue
    The new property value.


Example

AddEvent("OnDoorNetworkUpdatePropertyValue", function(door, propertyName, propertyValue)
end)

See also