sevensc
New Member
- Reaction score
- 8
Target Outcome: To have a unit shrine that...
1) Sells units (not train)
2) Can be upgraded (have a new set of units)
3) Have hotkeys shown/active for units
4) If the player hotkeyed the shrine (ie. ctrl+1) the shortcut will remain intact
Explanation of what I have figured out/tried:
If a unit is sold and not trained, it is not removed from the shrine what it upgrades. I got around this by using "AddUnitToStockBJ" and "RemoveUnitFromStockBJ"; however, adding units in this manner isn't showing the unit's hotkeys.
So instead, I tried replacing the shrine with the next level or shrine when an upgrade completes, but this loses any player group short cuts (ctrl+1, etc).
Does anyone know if there is a solution to this? And ideas would be great.
Thanks
1) Sells units (not train)
2) Can be upgraded (have a new set of units)
3) Have hotkeys shown/active for units
4) If the player hotkeyed the shrine (ie. ctrl+1) the shortcut will remain intact
Explanation of what I have figured out/tried:
If a unit is sold and not trained, it is not removed from the shrine what it upgrades. I got around this by using "AddUnitToStockBJ" and "RemoveUnitFromStockBJ"; however, adding units in this manner isn't showing the unit's hotkeys.
So instead, I tried replacing the shrine with the next level or shrine when an upgrade completes, but this loses any player group short cuts (ctrl+1, etc).
Does anyone know if there is a solution to this? And ideas would be great.
Thanks