• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Help with Triggering Abilitys

Status
Not open for further replies.

BloodNinja1

B

BloodNinja1

I was wondering if it was possible to make a trigger that make an ability level up after you used the ability a certain amount of times. if someone could help and tell me how i can make it work i would really appreciate it
 
You need a variable SkillInt, and integer with base value 0 and no array.
  • Trigger
  • Events
    • A unit starts the effect of an ability
  • Conditions
    • Ability being cast equal to YOURABILITY
  • Actions
    • Set SkillInt = SkillInt + 1
    • If SkillInt = (LEVELUPNUMBER) then do
      • Unit - Set level of YOURABILITY to (Level of YOURABILITY for Triggering Unit + 1) for Triggering Unit.
      • Else
        • Do Nothing
YOURABILITY is well, your ability, and LEVELUPNUMBER is how many times you want it to be cast before it levels up.
--donut3.5--
 
Thanks so much, I've been trying to figure it out for a while
 
Status
Not open for further replies.
Back
Top