SMG FormationManager

From SIMboxWiki
Jump to navigation Jump to search

The SMG_FormationManager logic component manages the formations.

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


back to top

Icon properties.png Properties

NameDescriptionMaxValueMinValueDisplayNameUnitTypeUnitName
PROP_FORMATION_LEADER_NAME  Formation leader name    Entity Identifier  Entity Name 
PROP_FORMATION_MEMBER_TYPE  Holds the formation member type (self navigate / keep relative from leader / keep relative from previous member)  10  Formation Member Mode  Default  Default 
PROP_FORMATION_SETTING_XML  Formation setting xml - define formation type (offset from leader per member ID)    File System  File 
PROP_FORMATION_TYPE  Formation type name.    Default  Default 
PROP_NUMBER_1_IN_FORMATION_ENTITY_NAME  The entity name for number 1 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_10_IN_FORMATION_ENTITY_NAME  The entity name for number 10 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_100_IN_FORMATION_ENTITY_NAME  The entity name for number 100 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_11_IN_FORMATION_ENTITY_NAME  The entity name for number 11 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_12_IN_FORMATION_ENTITY_NAME  The entity name for number 12 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_13_IN_FORMATION_ENTITY_NAME  The entity name for number 13 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_14_IN_FORMATION_ENTITY_NAME  The entity name for number 14 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_15_IN_FORMATION_ENTITY_NAME  The entity name for number 15 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_16_IN_FORMATION_ENTITY_NAME  The entity name for number 16 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_17_IN_FORMATION_ENTITY_NAME  The entity name for number 17 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_18_IN_FORMATION_ENTITY_NAME  The entity name for number 18 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_19_IN_FORMATION_ENTITY_NAME  The entity name for number 19 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_2_IN_FORMATION_ENTITY_NAME  The entity name for number 2 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_20_IN_FORMATION_ENTITY_NAME  The entity name for number 20 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_21_IN_FORMATION_ENTITY_NAME  The entity name for number 21 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_22_IN_FORMATION_ENTITY_NAME  The entity name for number 22 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_23_IN_FORMATION_ENTITY_NAME  The entity name for number 23 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_24_IN_FORMATION_ENTITY_NAME  The entity name for number 24 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_25_IN_FORMATION_ENTITY_NAME  The entity name for number 25 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_26_IN_FORMATION_ENTITY_NAME  The entity name for number 26 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_27_IN_FORMATION_ENTITY_NAME  The entity name for number 27 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_28_IN_FORMATION_ENTITY_NAME  The entity name for number 28 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_29_IN_FORMATION_ENTITY_NAME  The entity name for number 29 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_3_IN_FORMATION_ENTITY_NAME  The entity name for number 3 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_30_IN_FORMATION_ENTITY_NAME  The entity name for number 30 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_31_IN_FORMATION_ENTITY_NAME  The entity name for number 31 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_32_IN_FORMATION_ENTITY_NAME  The entity name for number 32 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_33_IN_FORMATION_ENTITY_NAME  The entity name for number 33 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_34_IN_FORMATION_ENTITY_NAME  The entity name for number 34 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_35_IN_FORMATION_ENTITY_NAME  The entity name for number 35 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_36_IN_FORMATION_ENTITY_NAME  The entity name for number 36 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_37_IN_FORMATION_ENTITY_NAME  The entity name for number 37 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_38_IN_FORMATION_ENTITY_NAME  The entity name for number 38 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_39_IN_FORMATION_ENTITY_NAME  The entity name for number 39 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_4_IN_FORMATION_ENTITY_NAME  The entity name for number 4 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_40_IN_FORMATION_ENTITY_NAME  The entity name for number 40 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_41_IN_FORMATION_ENTITY_NAME  The entity name for number 41 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_42_IN_FORMATION_ENTITY_NAME  The entity name for number 42 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_43_IN_FORMATION_ENTITY_NAME  The entity name for number 43 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_44_IN_FORMATION_ENTITY_NAME  The entity name for number 44 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_45_IN_FORMATION_ENTITY_NAME  The entity name for number 45 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_46_IN_FORMATION_ENTITY_NAME  The entity name for number 46 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_47_IN_FORMATION_ENTITY_NAME  The entity name for number 47 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_48_IN_FORMATION_ENTITY_NAME  The entity name for number 48 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_49_IN_FORMATION_ENTITY_NAME  The entity name for number 49 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_5_IN_FORMATION_ENTITY_NAME  The entity name for number 5 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_50_IN_FORMATION_ENTITY_NAME  The entity name for number 50 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_51_IN_FORMATION_ENTITY_NAME  The entity name for number 51 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_52_IN_FORMATION_ENTITY_NAME  The entity name for number 52 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_53_IN_FORMATION_ENTITY_NAME  The entity name for number 53 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_54_IN_FORMATION_ENTITY_NAME  The entity name for number 54 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_55_IN_FORMATION_ENTITY_NAME  The entity name for number 55 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_56_IN_FORMATION_ENTITY_NAME  The entity name for number 56 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_57_IN_FORMATION_ENTITY_NAME  The entity name for number 57 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_58_IN_FORMATION_ENTITY_NAME  The entity name for number 58 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_59_IN_FORMATION_ENTITY_NAME  The entity name for number 59 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_6_IN_FORMATION_ENTITY_NAME  The entity name for number 6 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_60_IN_FORMATION_ENTITY_NAME  The entity name for number 60 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_61_IN_FORMATION_ENTITY_NAME  The entity name for number 61 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_62_IN_FORMATION_ENTITY_NAME  The entity name for number 62 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_63_IN_FORMATION_ENTITY_NAME  The entity name for number 63 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_64_IN_FORMATION_ENTITY_NAME  The entity name for number 64 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_65_IN_FORMATION_ENTITY_NAME  The entity name for number 65 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_66_IN_FORMATION_ENTITY_NAME  The entity name for number 66 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_67_IN_FORMATION_ENTITY_NAME  The entity name for number 67 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_68_IN_FORMATION_ENTITY_NAME  The entity name for number 68 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_69_IN_FORMATION_ENTITY_NAME  The entity name for number 69 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_7_IN_FORMATION_ENTITY_NAME  The entity name for number 7 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_70_IN_FORMATION_ENTITY_NAME  The entity name for number 70 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_71_IN_FORMATION_ENTITY_NAME  The entity name for number 71 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_72_IN_FORMATION_ENTITY_NAME  The entity name for number 72 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_73_IN_FORMATION_ENTITY_NAME  The entity name for number 73 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_74_IN_FORMATION_ENTITY_NAME  The entity name for number 74 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_75_IN_FORMATION_ENTITY_NAME  The entity name for number 75 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_76_IN_FORMATION_ENTITY_NAME  The entity name for number 76 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_77_IN_FORMATION_ENTITY_NAME  The entity name for number 77 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_78_IN_FORMATION_ENTITY_NAME  The entity name for number 78 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_79_IN_FORMATION_ENTITY_NAME  The entity name for number 79 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_8_IN_FORMATION_ENTITY_NAME  The entity name for number 8 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_80_IN_FORMATION_ENTITY_NAME  The entity name for number 80 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_81_IN_FORMATION_ENTITY_NAME  The entity name for number 81 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_82_IN_FORMATION_ENTITY_NAME  The entity name for number 82 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_83_IN_FORMATION_ENTITY_NAME  The entity name for number 83 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_84_IN_FORMATION_ENTITY_NAME  The entity name for number 84 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_85_IN_FORMATION_ENTITY_NAME  The entity name for number 85 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_86_IN_FORMATION_ENTITY_NAME  The entity name for number 86 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_87_IN_FORMATION_ENTITY_NAME  The entity name for number 87 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_88_IN_FORMATION_ENTITY_NAME  The entity name for number 88 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_89_IN_FORMATION_ENTITY_NAME  The entity name for number 89 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_9_IN_FORMATION_ENTITY_NAME  The entity name for number 9 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_90_IN_FORMATION_ENTITY_NAME  The entity name for number 90 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_91_IN_FORMATION_ENTITY_NAME  The entity name for number 91 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_92_IN_FORMATION_ENTITY_NAME  The entity name for number 92 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_93_IN_FORMATION_ENTITY_NAME  The entity name for number 93 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_94_IN_FORMATION_ENTITY_NAME  The entity name for number 94 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_95_IN_FORMATION_ENTITY_NAME  The entity name for number 95 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_96_IN_FORMATION_ENTITY_NAME  The entity name for number 96 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_97_IN_FORMATION_ENTITY_NAME  The entity name for number 97 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_98_IN_FORMATION_ENTITY_NAME  The entity name for number 98 in the formation    Entity Identifier  Entity Name 
PROP_NUMBER_99_IN_FORMATION_ENTITY_NAME  The entity name for number 99 in the formation    Entity Identifier  Entity Name 

back to top

Icon attributes.png Attributes

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ATT_FORMATION_LEADER_ID  Formation leader id  int &      Default  Default 
ATT_FORMATION_LEADER_NAME  Formation leader name  string &      Default  Default 
ATT_FORMATION_MEMBER_TYPE  Holds the formation member type (self navigate / keep relative from leader / keep relative from previous member)  int &      Default  Default 
ATT_FORMATION_NUM_MEMBERS  The number of members in the formation  int &      Default  Default 
ATT_FORMATION_REGROUP_INITIAL_WAYPOINT_INDEX  Formation regroup initial waypoint index  int &      Default  Default 
ATT_FORMATION_RELATIVE_POSITION  Holds relative offset position from the leader, for each formation member  const int  LinearVec &    Default  Default 
ATT_FORMATION_RELATIVE_TIME_BEHIND  Relative time (seconds) behind the leader.  const int  float &    Default  Default 
ATT_FORMATION_TYPE  Get the formation type (Wedge/Trail/Line...)  string &      Default  Default 
ATT_NUMBER_IN_FORMATION_TO_ENTITY_ID  Formation member to entity ID  const int  int &    Default  Default 

back to top

Icon actions.png Actions

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ACTION_ADD_FORMATION_MEMBER  Add formation member. First param - new member entity ID, second param - number in formation (if -1 add in the end)  const int  const int    Default  Default 
ACTION_FORMATION_REGROUP  Regroup formation members that removed from the formation.        Default  Default 
ACTION_REMOVE_MEMBER_FROM_FORMATION  Remove member from formation. The parameter is member id (number in formation)  const int      Default  Default 
ACTION_SET_FORMATION_REGROUP_INITIAL_WAYPOINT_INDEX  Set formation regroup initial waypoint index  const int      Default  Default 

back to top

Icon attributes.png Required Attributes

Name
ATT_PARENT_GROUP_ID 

back to top

Icon actions.png Required Actions

Name
ACTION_FORMATION_MEMBER_DATA_DIRTY_TRIGGER 
ACTION_GROUND_PATH_RESUME_ORIGINAL_PATH 
ACTION_REMOVE_FORMATION_MEMBER_FROM_FORMATION 
ACTION_SET_FORMATION_GROUP_ID 
ACTION_SET_FORMATION_LEADER_ID 
ACTION_SET_FORMATION_MEMBER_NUMBER_IN_FORMATION 
ACTION_SET_FORMATION_MEMBER_RELATIVE_POSITION 
ACTION_SET_FORMATION_MEMBER_TYPE 
ACTION_SET_FORMATION_NUM_MEMBERS 
ACTION_SET_FORMATION_PREVIOUS_MEMBER_RELATIVE_POSITION 
ACTION_SET_FORMATION_TYPE 
ACTION_SET_NUMBER_IN_FORMATION 
ACTION_SET_RELATIVE_TO_PREVIOUS_FORMATION_MEMBER_TIME_BEHIND 

back to top,