Ok so Im making a game with the basic style of footman, a base town hall structure and units that spawn around it. All players have a wisp in their starting location, which is replaced by the town hall structure of the race they pick in a dialog box, i do that using this trigger:
Thank you in advance
-
Human Settler
-
Events
- Dialog - A dialog button is clicked for Firstdiag
-
Conditions
- (Clicked dialog button) Equal to Diagbutton[1]
-
Actions
- Set OwnedUnits = (Units owned by (Triggering player))
- Unit - Replace (Random unit from OwnedUnits) with a Town Hall using The new unit's default life and mana
-
Events
Thank you in advance