so i tried to put in an option that when you type -sm it would start "short mode"
i added an upgrade called short mode that decreases health and damage of the unit, and put it under Techtree-upgrades used for each of the units above, but when the trigger is run, it does not add the upgrade to the units for some reason....what gives?
Code:
Short Mode
Events
Player - Player 1 (Red) types a chat message containing -sm as An exact match
Conditions
Actions
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green) of type Ancient Protector - Level 1 (Level 1)) and do (Unit - Order (Picked unit) to research Short Mode )
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green) of type Ancient Protector - Level 2 (Level 2)) and do (Unit - Order (Picked unit) to research Short Mode )
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green) of type Ancient Protector - Level 3 (Level 3)) and do (Unit - Order (Picked unit) to research Short Mode )
Unit Group - Pick every unit in (Units owned by Player 12 (Brown) of type Spirit Tower - Level 1 (Level 1)) and do (Unit - Order (Picked unit) to research Short Mode )
Unit Group - Pick every unit in (Units owned by Player 12 (Brown) of type Spirit Tower - Level 2 (Level 2)) and do (Unit - Order (Picked unit) to research Short Mode )
Unit Group - Pick every unit in (Units owned by Player 12 (Brown) of type Spirit Tower - Level 3 (Level 3)) and do (Unit - Order (Picked unit) to research Short Mode )
Wait 46.00 seconds
Player Group - Pick every player in (All players) and do (Hero - Make (Picked player) Heroes gain 130.00% experience from future kills)
i added an upgrade called short mode that decreases health and damage of the unit, and put it under Techtree-upgrades used for each of the units above, but when the trigger is run, it does not add the upgrade to the units for some reason....what gives?


