SMG ScenarioBehavior
Jump to navigation
Jump to search
The SMG_ScenarioBehavior logic component is used much like general SLC to contain a list of properties which describes the interaction of the entity with the scenario.
Type: Logic Object Component
File: SMG_ScenarioBehavior.slc
Version: 450.1000.342.1
back to top
Properties
| Name | Description | MaxValue | MinValue | DisplayName | UnitType | UnitName |
|---|---|---|---|---|---|---|
| PROP_BEHAVIOR_ALIGN_WITH_ROUTE | Tells whether to automatically align the entity with the first waypoint of the route it is attached to. | 0 | 0 | Auto Align | Default | Default |
| PROP_BEHAVIOR_ALLOW_ATTACHMENTS | Used in the entity to entity-subpart attach mechanism to tell is an entity can be attached to the current entity | 0 | 0 | Default | Default | |
| PROP_BEHAVIOR_ATTACH_TO_ENTITY | Used in the entity to entity-subpart attach mechanism to tell which subparts are available on the entity to attach to | 0 | 0 | Attach To Entity | Entity Identifier | Entity Name |
| PROP_BEHAVIOR_ATTACH_TO_SUBPART | Used in the entity to entity-subpart attach mechanism to tell which subpart to attach to | 0 | 0 | Attach To Subpart | Graphic Engine | Subpart Name |
| PROP_BEHAVIOR_IS_MOVABLE | Tells if the entity can be moved (when working with the scenario builder) | 0 | 0 | Default | Default | |
| PROP_BEHAVIOR_IS_SAVED_IN_SNAPSHOT | Tells if the entity is saved by the snapshot system | 0 | 0 | Default | Default | |
| PROP_BEHAVIOR_SHOW_IN_SCENARIO_EDITOR | Tells whether the entity is visible in the Scenario Builder's entity type // list dialogs | 0 | 0 | Default | Default |
Attributes
| Name | Description | Param1 | Param2 | DisplayName | UnitType | UnitName |
|---|---|---|---|---|---|---|
| ATT_BEHAVIOR_IS_MOVABLE | Tells if the entity can be moved (when using the scenario builder) | bool & | Default | Default | ||
| ATT_BEHAVIOR_IS_SAVED_IN_SNAPSHOT | Tells if the entity is saved by the snapshot system | bool & | Default | Default |
Actions
| Name | Description | Param1 | Param2 | DisplayName | UnitType | UnitName |
|---|---|---|---|---|---|---|
| ACTION_BEHAVIOR_SET_IS_SAVED_IN_SNAPSHOT | Sets whether the entity is saved by the snapshot system | const bool | Default | Default |