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

Help with Triggering Abilitys

Status
Not open for further replies.
Level 1
Joined
Jul 24, 2007
Messages
2
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
 
Level 27
Joined
Feb 22, 2006
Messages
3,052
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--
 
Status
Not open for further replies.
Top