SMG DTEntityDataBasic

From SIMboxWiki
Jump to navigation Jump to search

The SMG_DTEntityDataBasic logic component holds basic design-time entity data.

Type: Logic Object Component
File: SMG_DTEntityDataBasic.slc
Version: 450.1000.342.1


back to top

Icon properties.png Properties

NameDescriptionMaxValueMinValueDisplayNameUnitTypeUnitName
PROP_DTDATA_IS_EDITABLE  Tells if the properties of the entity can be changed    Default  Default 
PROP_DTDATA_OWNER_TEMPLATE  The name of the template mission which this entity was created for    Default  Default 
PROP_DTDATA_REFLECTED_ENTITY_XML  The initial value of the reflected entity XML    Default  Default 
PROP_IS_ENTITY_TO_RECORD  Should the entity be recorded?    Default  Default 
PROP_LOADING_ORDER  Indicates the order to load the entity during the loading mission process  9999999    Default  Default 

back to top

Icon attributes.png Attributes

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ATT_DTDATA_ATTACHED_SLC_LIST  A list of all the attached logic compoenent names (seperated by a semi-colun)  string &      Default  Default 
ATT_DTDATA_GET_ATTACHED_SLC_STATE  Describes the way a given logic component is attached to the entity. 0- not attached, 1- contained, 2- blocked  const string &  int &    Default  Default 
ATT_DTDATA_IS_DESIGN_TIME_ENTITY  A flag for signalling that the container entity is a design-time entity  bool &      Default  Default 
ATT_DTDATA_IS_EDITABLE  Tells if the properties of the entity can be changed  bool &      Default  Default 
ATT_DTDATA_IS_MATERIALIZED  Tells if the entity was created in the preview  bool &      Default  Default 
ATT_DTDATA_LOADING_ORDER  The entity's loading order  int &      Default  Default 
ATT_DTDATA_OWNER_TEMPLATE  The name of the template mission which this entity was created for  string &      Default  Default 
ATT_DTDATA_REFLECTED_BASE_OBJECT  The base object this entity is suppose to represent  string &      Default  Default 
ATT_DTDATA_REFLECTED_ENTITY_NAME  The name of the entity that the xml represents  string &      Default  Default 
ATT_DTDATA_REFLECTED_ENTITY_XML  Holds the full xml string with which the entity can be created  string &      Default  Default 
ATT_DTDATA_REFLECTED_SUBPART_LIST  A list of subpart names that the 3D model of the reflected object contains (in the form of [name]|[display name]|).  string &      Default  Default 
ATT_DTDATA_SELECTED_PROP_IS_SET  Tells if the property value is derived from the base object data base definition or from a supplied value  bool &      Default  Default 
ATT_DTDATA_SELECTED_PROP_NAME  The name of the currently selected property  string &      Default  Default 
ATT_DTDATA_SELECTED_PROP_TYPE  The type of the selected property (converted from PropertyType enum)  int &      Default  Default 
ATT_DTDATA_SELECTED_PROP_VALUE_BOOL  The value of the currently selected property in boolean value  bool &      Default  Default 
ATT_DTDATA_SELECTED_PROP_VALUE_DOUBLE  The value of the currently selected property in double value  double &      Default  Default 
ATT_DTDATA_SELECTED_PROP_VALUE_FLOAT  The value of the currently selected property in float value  float &      Default  Default 
ATT_DTDATA_SELECTED_PROP_VALUE_INT  The value of the currently selected property in integer value  int &      Default  Default 
ATT_DTDATA_SELECTED_PROP_VALUE_STRING  The value of the currently selected property in string value  string &      Default  Default 
ATT_IS_ENTITY_TO_RECORD  Should the entity be recorded?  bool &      Default  Default 

back to top

Icon actions.png Actions

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ACTION_DTDATA_ADD_UNREGISTERED_PROPERTY  Adds a property to the entity which is not registered to the base object (recives: [property name], [PropertyType (enum)])   const string &  const int    Default  Default 
ACTION_DTDATA_RESET_PROPERTY_VALUE  Resets (removes) a property from the entitiy xml  const string &      Default  Default 
ACTION_DTDATA_SET_ATTACHED_SLC_STATE  Sets if a specified SLC's attahc state. First parameter - entity name. Second patameter - attach state: 0 - not attached, 1 - contained, 2 - blocked  const string &  const int    Default  Default 
ACTION_DTDATA_SET_IS_MATERIALIZED  Set if the entity was created in the current preview mode  const bool      Default  Default 
ACTION_DTDATA_SET_REFLECTED_ENTITY_NAME  Sets the name of the reflected entity name  const string &      Default  Default 
ACTION_DTDATA_SET_SELECTED_PROP_NAME  Sets the name of the editted property  const string &      Default  Default 
ACTION_DTDATA_SET_SELECTED_PROP_VALUE_BOOL  Sets the value of the selected boolean type property (recives a boolean value)  const bool      Default  Default 
ACTION_DTDATA_SET_SELECTED_PROP_VALUE_DOUBLE  Sets the value of the selected double type property (recives an double value)  const double      Default  Default 
ACTION_DTDATA_SET_SELECTED_PROP_VALUE_FLOAT  Sets the value of the selected float type property (recives an float value)  const float      Default  Default 
ACTION_DTDATA_SET_SELECTED_PROP_VALUE_INT  Sets the value of the selected integer type property (recives an integer value)  const int      Default  Default 
ACTION_DTDATA_SET_SELECTED_PROP_VALUE_STRING  Sets the value of the selected string type property (recives an string value)  const string &      Default  Default 

back to top

Icon attributes.png Required Attributes

Name
ATT_UNIT_TYPE 

back to top

Icon actions.png Required Actions

Name
ACTION_DTMOTION_REFRESH_LOCATION 
ACTION_SET_2D_GRAPHIC_REP 
ACTION_SET_3D_GRAPHIC_REP 

back to top,