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

How to sell a hero (to shop) withoute killing it?

Status
Not open for further replies.
Level 22
Joined
Jan 10, 2005
Messages
3,426
so, still having trouble with this huh? :p

events: unit begins casting an ability
conditions: ability comparison => ability is equal to 'that hero sell ability'
actions: remove 'unit type var for hero' from the game
player add property => add gold and wood (the amount u paid for last hero

ps: when u choose a hero, set it as a variable (so the trigger above works)

this rly should work. also create a new selector for the player ofcourse
 
Status
Not open for further replies.
Top