On Custom Property Change

STD Library
Both Server and Client
Only PC
Owner:
entity

When a monitored custom property changes, this event will trigger. Note: if a custom property is modified multiple times within a single frame, this event is only triggered once. When the server modifies a custom property, the event is sent to both endpoints; when a client modifies a local entity's custom property, the event is only delivered locally.

Declaration

event OnCustomPropertyChange(propertyIndex Property, propertyValue object)
go

Parameters

Name Type Description
Property Index Property The property’s index
Property Value Object The property’s new value