• 🏆 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!

[Spell] How do i make custom abilities with the same base ability work?

Status
Not open for further replies.
Level 3
Joined
Apr 24, 2010
Messages
50
I don't know how to say this but it's like this:
I made an ability from 'Build Tiny Barracks' and made three custom abilities from it named 'build robot', 'build tower' and 'build farm' and put them in the same spellbook ability.~Once i've done that, i head on testing the abilities in-game but the 'build robot', 'build tower' instead functions as the 'build farm' and has same unit/building built, cool down, mana requirements etc. But the tooltips and descriptions are still the same.

Anyone help me make them work without the same outcome?
 
Last edited:
Level 17
Joined
Mar 21, 2011
Messages
1,597
you have to create a spellbook for each skill, then give the 3 spellbooks the same ID, and hide 2 of the 3 spellbooks via trigger.
  • Nahkampf-Initialisierung
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Playergroup - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Deactivate Spellbook 1 for (Picked player)
          • Player - Deactivate Spellbook 2 for (Picked player)
this works 100% ! !! ! !
i made it myself in my map, if you have any questions, ask me
 
Level 3
Joined
Apr 24, 2010
Messages
50
you have to create a spellbook for each skill, then give the 3 spellbooks the same ID, and hide 2 of the 3 spellbooks via trigger.
  • Nahkampf-Initialisierung
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Playergroup - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Deactivate Spellbook 1 for (Picked player)
          • Player - Deactivate Spellbook 2 for (Picked player)
this works 100% ! !! ! !
i made it myself in my map, if you have any questions, ask me

wait, does this work only for units? 'cause i'm making the trigger for a hero, which has alrdy 5 abilities(including 'build')~~does that also mean i have to make a trigger which adds the spellbook abilities?

damn, it's confusing
 
Status
Not open for further replies.
Top