• 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.

making an npc choose a hero from a tavern, buy items from shops and farm

Status
Not open for further replies.
Level 1
Joined
Aug 10, 2010
Messages
5
i need to know how to tell an npc to pick a random hero from a tavern and then buy items and go farm some creeps.

after he selects a hero i could use the move walk-attack to command but i'm wondering if there is anything better? i'm new to the world editor.
 
Level 24
Joined
Jul 9, 2009
Messages
4,097
hi i saw your question on worldeditor help zone and how did you get it to stand unsolved?
 
i need to know how to tell an npc to pick a random hero from a tavern and then buy items and go farm some creeps.

after he selects a hero i could use the move walk-attack to command but i'm wondering if there is anything better? i'm new to the world editor.

There are GUI actions for buying units from a tavern and also for buying items...
 
Those are events...not actions....
He wants to do some sort of AI thing with his NPC unit.

hmmm... I think I saw it last time, anyway you can just trigger it... instead of "real" buying, you can just create the unit you want to buy and reduce the npc's gold, the same thing with items...
 
Status
Not open for further replies.
Top