• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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