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

Level up Unit Spells on a Hero

Status
Not open for further replies.
Level 3
Joined
Dec 24, 2008
Messages
16
Hey all, I came to a speed bump in my creation and I just don't know HOW to level up a unit spell for a hero.

For example:
The Unit Spell is on the Hero in the beginning, starting at Level 1, but what I'm trying to figure out is HOW can I get that skill to level up when ever the hero gains 5 levels?

It's not a Hero Spell, so it's not in the Hero Abilities section part thingy, it's the spell that are already there, like in The Black Road, you have 4 spells already and you use skill books to level them. Mine is basically like that, I just need it to be leveled automatically and have a Floating Message above the unit or just a message to the player saying "Congratulations! <Skill Name> has leveled up!" or something like that.

If you are confused I'll explain it easier:
Unit Skill on a Hero.
Hero gets level 5, 10, 15, 20, etc. and the skill automatically levels up.
Message congratulating the hero/player.

All help is appreciated!
Thank you!
~PlayersFear
 
Level 11
Joined
Apr 6, 2008
Messages
760
  • Trigger
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • Multiple ConditionsOr - Any (Conditions) are true
        • Conditions
          • (Level of (Triggering unit)) Equal to (==) 5
          • (Level of (Triggering unit)) Equal to (==) 10
          • (Level of (Triggering unit)) Equal to (==) 15
          • (Level of (Triggering unit)) Equal to (==) 20
    • Actions
      • Unit - Increase level of Acid Bomb for (Triggering unit)
 
Level 7
Joined
Jul 7, 2008
Messages
332
  • Trigger
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • Multiple ConditionsOr - Any (Conditions) are true
        • Conditions
          • (Level of (Triggering unit)) Equal to (==) 5
          • (Level of (Triggering unit)) Equal to (==) 10
          • (Level of (Triggering unit)) Equal to (==) 15
          • (Level of (Triggering unit)) Equal to (==) 20
    • Actions
      • Unit - Increase level of Acid Bomb for (Triggering unit)

Thank you, another quick question:
How do I make that message
"<Skill Name> has leveled up!"
For the owner of triggering unit?
 
Level 7
Joined
Jul 20, 2008
Messages
377
  • Trigger
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • Multiple ConditionsOr - Any (Conditions) are true
        • Conditions
          • (Level of (Triggering unit)) Equal to (==) 5
          • (Level of (Triggering unit)) Equal to (==) 10
          • (Level of (Triggering unit)) Equal to (==) 15
          • (Level of (Triggering unit)) Equal to (==) 20
    • Actions
      • Unit - Increase level of Acid Bomb for (Triggering unit)

Why not do this?

  • Trigger
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • ((Level of (Triggering unit)) mod 5) Equal to 0
    • Actions
      • Unit - Increase level of Acid Bomb for (Triggering unit)
 
Level 8
Joined
Mar 12, 2008
Messages
437
Thank you, another quick question:
How do I make that message
"<Skill Name> has leveled up!"
For the owner of triggering unit?

  • Sk1llz trigger
    • Events
      • ...
    • Conditions
      • ...
    • Actions
      • Game - Display to (Player group((Owner of (Triggering unit)))) the text: ((Name of Acid Bomb) + has leveled up!)
      • --- OR ---
      • Game - Display to (Player group((Owner of (Triggering unit)))) for x seconds the text: ((Name of Acid Bomb) + has leveled up!)
 
Level 7
Joined
Jul 7, 2008
Messages
332
  • Sk1llz trigger
    • Events
      • ...
    • Conditions
      • ...
    • Actions
      • Game - Display to (Player group((Owner of (Triggering unit)))) the text: ((Name of Acid Bomb) + has leveled up!)
      • --- OR ---
      • Game - Display to (Player group((Owner of (Triggering unit)))) for x seconds the text: ((Name of Acid Bomb) + has leveled up!)

I still can't find it :ugly:
 
Level 7
Joined
Jul 20, 2008
Messages
377
There is no Owner of (Triggering Unit) player group. That's the problem - you want to display it for a specific player. Isn't there a Display Text Message to Player function you can use? I'm pretty sure there is a GUI one for that... (not at my home computer right now)
 
Status
Not open for further replies.
Top