• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] Unit Group ability changing.

Status
Not open for further replies.
Level 2
Joined
Feb 8, 2009
Messages
11
Right, here is my trigger:
  • Helping Squid is fun
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Dazzling Brightness
    • Actions
      • Unit Group - Pick every unit in (Units within 300.00 of (Target point of ability being cast)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Weapon Skill 2 for (Picked unit)) Equal to 1
            • Then - Actions
              • Unit - Remove Weapon Skill 2 from (Picked unit)
              • Unit - Add Weapon Skill 1 to (Picked unit)
              • Wait 12.50 seconds
              • Unit - Remove Weapon Skill 1 from (Picked unit)
              • Unit - Add Weapon Skill 2 to (Picked unit)
            • Else - Actions
              • -------- This tigger repeats for weapon skills up to 10. --------
It is not working, I know why, so please dont post about that, but I cannot find a way to do this using GUI tiggers that works.
In more depth: This spell is meant to set the units weapon skill to 1 for 12.5 seconds then revert it back, weapon skill is an ability (duh?) like evasion (if that helps). The spell is based on drunken haze.
I will love the person who can help me with this forever (this will also solves multiple other roadblocks). Oh and GUI is preference (although I could try relearning C++).
 
Status
Not open for further replies.
Top