My aim is to replace a unit owned by a human player with new bought unit.
For example I have a swordman, go to the barracs, buy knight and the swordsman is deleted and the knight is created(in the same place and facing directory if you would be so kind )
And I need to store that unit in a variable to do something with it later. Array or not.
Anyone has any idea?
For example I have a swordman, go to the barracs, buy knight and the swordsman is deleted and the knight is created(in the same place and facing directory if you would be so kind )
And I need to store that unit in a variable to do something with it later. Array or not.
Anyone has any idea?