LogicCommand
From TM-Modding-Wiki
|
LogicCommands are defines of all the buttons you see ingame like Build-, Upgrade-, SpecialPower-Buttons.
LogicCommand
Values are set to 1.09 default values.
<LogicCommandid=""Required Sets the LogicCommand´s name for reference in other Assets; must be unique in the mod; StringType="NONE"Optional Sets the type of the LogicCommand; LogicCommandTypeOptions=""Optional Sets Options for this LogicCommand; LogicCommandOptions<SpecialPower></SpecialPower>Optional Reference to activated SpecialPower; SpecialPowerTemplateRef<Upgrade></Upgrade>Optional Reference to upgrade; UpgradeTemplateRef<Object></Object>Optional Reference to Object; GameObjectRef
</LogicCommand>
Example LogicCommand's
SpecialPower
<LogicCommandType="SPECIAL_POWER"id="Command_ConstructTMExampleSpecialPower"><SpecialPower>TMExampleSpecialPower</SpecialPower>
</LogicCommand>
Upgrade
<LogicCommandType="OBJECT_UPGRADE"id="Command_ConstructTMExampleUpgrade"><Upgrade>TMExampleUpgrade</Upgrade>
</LogicCommand>
Object
<LogicCommandType="UNIT_BUILD"id="Command_ConstructTMExampleObject"><Object>TMExampleObject</Object>
</LogicCommand>
