• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Unit Purchasing

Status
Not open for further replies.
Level 3
Joined
Nov 6, 2007
Messages
29
So I've made an external unit purchasing system in my map (basically the hero selector with regular units) but everytime I move my wisp to buy the unit I want - it will buy that unit and revive the wisp though I won't be able to buy any more units. What can I do?
 
2h391ye.jpg
 
  • (Triggering Unit) equal to (Picked Unit)
WTF is that supposed to say?!
What are you trying to compare the unit to?

I first compared it to a Wisp (unit buyer) before that. This was a different approach.

  • Trigger - Turn on (This trigger)
I have no idea why you have that action.

My first thought was that the trigger turned off everytime I bought my first unit.
 
I first compared it to a Wisp (unit buyer) before that. This was a different approach.
Picked Unit only works inside [Unit Group - Pick every unit and do] loops.
If I understood your needs correctly you could compare the unit-type and owner of the wisp instead, given each player has a limited number of wisps.
My first thought was that the trigger turned off everytime I bought my first unit.
Well it doesn't, unless you have an external trigger that turns it off each time. I recommend to erase that action since it's useless.
 
Whether I set it to "picked unit" or "unit buyer" and remove "turn on this trigger", it continues to give me the same problems.

{EDIT}
Nevermind I've decided to make it easier for myself and others and placed a building with a region around it that teleports the units made instead.

+rep for the efforts.
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top