• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

Add units to a mercenary camp and set their price?

Not open for further replies.
Level 4
Aug 26, 2015
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.




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.

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].
Not open for further replies.