OnNPCNetworkUpdatePropertyValue: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
{{FuncDescription|Called when a property value is updated from the network.}} | {{FuncDescription|Called when a property value is updated from the network.}} | ||
{{FuncSyntax|OnNPCNetworkUpdatePropertyValue( | {{FuncSyntax|OnNPCNetworkUpdatePropertyValue(npc, PropertyName, PropertyValue)}} | ||
{{FuncParameters}} | {{FuncParameters}} |
Revision as of 18:03, 14 July 2020
Description
Called when a property value is updated from the network.
Syntax
OnNPCNetworkUpdatePropertyValue(npc, PropertyName, PropertyValue)
Parameters
- npc
The npc identifier. - PropertyName
The name of the property that has changed. - PropertyValue
The new property value.
Example
AddEvent("OnNPCNetworkUpdatePropertyValue", function(npcId, propertyName, propertyValue)
end)