I am using an global uppgrade via "unit is sold"
But I want that unit to be removed from the shop after but it doesn't work.
But I want that unit to be removed from the shop after but it doesn't work.
Code:
Build Frigate West
Events
Unit - A unit Sells a unit
Conditions
(Unit-type of (Sold unit)) Equal to Frigate
(Unit-type of (Selling unit)) Equal to Castle
(Owner of (Selling unit)) Equal to Player 1 (Red)
Actions
Neutral Building - Remove Frigate from (Selling unit)
Unit - Remove (Sold unit) from the game
Trigger - Run West Frigate <gen> (checking conditions)