Add units to a mercenary camp and set their price?

Status
Not open for further replies.
Level 4
Joined
Aug 26, 2015
Messages
71
Hi. I need a trigger to that, it's a neutral mercenary camp if you need the information. I want to set their price too.
 

Ardenian

A

Ardenian

Another approach could be to create dummy items ( to have a price shown) and check which item is sold -> remove item -> create unit

You would most likely use variables with an array for this.

Example:
MercenaryItem[1] = Golem - this is an item variable with an array
MercenaryUnit[1] = Golem - this is a unit-type variable with an array

Now check if a shop sells the MercenaryItem[1], remove it and create one unit of type MercenaryUnit[1].
 
Status
Not open for further replies.
Top