Warcraft III resources & community, 2003–2006 · archived

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

3 posts
#1

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

I need to knw how i can sell a hero to a shop ( to release the only peice of food i got[need 1 food to by a hero])

NOTE: the map is a team vs team map and i got a revive trigger that will revive any killed heros


... how to do?
#2
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
#3
Maybe giving the shop transmute ability.