• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Trigger Help Please

Status
Not open for further replies.

DemonicMuskrat

D

DemonicMuskrat

Okay, I'm ashamed to say it but I'm having a little trouble getting a trigger to do what i want it to do. It shouldn't be hard but well... its just not happening for me :ar:
So heres what i want to do:
A unit casts a specific ability on a specific unit (as in, only one type of unit, not pre-selected)
The level of a specific ability of the targeted unit is changed to the level of the casted ability + 1

So yes, its very simple but i cant seem to get the first part. I haven't learned JASS since this map is a one off thing, so maybe some custom script would work?
 
You dont need JASS to do this, so heres the GUI trigger.
The level of ability for the target is changed? Ok then...
  • Spell
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Target unit of ability being cast) Equal to (The Specific Unit)
    • Actions
      • Unit - Increase level of (Ability being cast) for (Target unit of ability being cast)
 
So now i feel stupid. xD
You see i somehow hadn't noticed that Target unit of ability being cast was there... dont ask me how...
 
Status
Not open for further replies.
Back
Top