Version: 
Back to list

Core :: addCustomProperty

Synopsis

   Add a custom property to an entity that support custom properties

GUI Dialog

   

Script function

   core.addCustomProperty(entity, name[, value])

Parameters

   entity (Entity) : An entity that support custom properties
   name (String) : Name of the custom property
   value (String[optional] : Value of the custom property