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

Remove Ability to a unit-type

Status
Not open for further replies.
Level 4
Joined
Apr 22, 2020
Messages
53
Hello !

Sorry if i make some mistakes, i'm french...

First of all, I would like to introduce a bit my goal with this trigger.

I'm trying to make a "Blood & Magic" gameplay (the old strategy game, for those who know).

In the game, you make golem to make unit after. You put the golem next to a structure, and turn it into an other unit, like a warrior for example.

SO :

to do it, I've made this trigger :


To take off this ability when the golem is not next to the structure, i've made this :


And, when the building is destroyed, i've made this :

("Meurt" is Dies)


BUT :

The ability is not removed from the golem when the building does not longer exist.

What do i do wrong ?

Thanks for your answers and your time !
 
Last edited:
Level 4
Joined
Apr 22, 2020
Messages
53
Ok guys, I have finally figured out what I need to do with all your tutorials or hands people gave to eachother. It was a long task to find all the tips in this forum to make it work but I did it !

I post here my new triggers for people in the same case :

Trigger to put the ability on :



Trigger to remove it when building "dies" :

 
Last edited:
Status
Not open for further replies.
Top