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!
At the start of the map you create a dummy that the shop can select (i.e. no locust).
Then whenever you want your AI to buy this item, you call a trigger that orders a neutral player /unused computer or whomever is free and can own the dummy and Order them by Id to buy the item. (Make sure they have enough gold or whatever is needed.)
Then you can just instantly remove the item from the dummy and create and give the item to the AI's hero.
Create a trigger: give it the events Unit is issued an order targeting an object/targeting a point/no target.
Edit: Buying an item will be a no target order.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.