Version: 
Back to list

Core :: getProperties

Synopsis

   Get the property value on entities (if the property is not set on an entity, defaultValue is returned)

GUI Dialog

   

Script function

   core.getProperties(entities, propertyName[, defaultValue]) -> values

Parameters

   entities (EntityList) : List of entities
   propertyName (String) : The property name
   defaultValue (String[optional] : Default value to return if the property does not exist on an entity

Return value

   values (StringList) : Property value on each entity