• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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