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

Rune and Bladestorm Questions

Status
Not open for further replies.
Level 5
Joined
Jul 30, 2012
Messages
93
Hi,

i have 2 question.

1-I have a rune trigger.It's stacking every 5 minutes.Then there will be a lot of rune.So how can i create runes when there isn't rune in region?

  • Rune
    • Events
      • Time - Every 300.00 seconds of game time
    • Conditions
    • Actions
      • Item - Create Yenilenme at (Center of Rune <gen>)
2-Which target options can i tick on "Hex" ability in case stop to use hex on magic immunity heroes.Cuz, i can use hex ability on heroes who used bladestorm. :(

Thank you!
 
Level 16
Joined
Mar 27, 2011
Messages
1,349
Simple. Remove runes before creating a new one.

  • Remove Rune
    • Events
      • Time - Every 300.00 seconds of game time
    • Conditions
    • Actions
      • Item - Pick every item in Region 000 <gen> and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Matching item)) Equal to Tome of Experience
            • Then - Actions
              • Item - Remove (Picked item)
            • Else - Actions
 

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
1/ Well, I think u should stored the spawned rune into a variable. Then create a trigger in which has the event Unit accquired an item and condition is item being manipulated equal to the rune variable. Then at the action, create and set a boolean varible equal to false. And back to ur spawn trigger, u check if that boolean variable is false or true, if it is false, spawn a rune and set it to true, if it true, then do nothing.
 
Level 16
Joined
Mar 27, 2011
Messages
1,349
Like Hayaku said, this will work too then:

  • Rune
    • Events
      • Time - Every 300.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Rune is in Region 000 <gen>) Equal to True
        • Then - Actions
          • Item - Remove Rune
        • Else - Actions
      • Item - Create Tome of Experience at (Center of Region 000 <gen>)
      • Set Rune = (Last created item)
 
Level 12
Joined
Feb 22, 2010
Messages
1,115
2-Which target options can i tick on "Hex" ability in case stop to use hex on magic immunity heroes.Cuz, i can use hex ability on heroes who used bladestorm. :(

This probably means the "hex" ability you mentioned is an ultimate ability, not regular ability(stats - required level, different than 1)I think this is hardcoded, ultimate skills ignore target unit's magic immunity.Maybe you can try to stop casting hex with a trigger on magic immune units.
 
Level 25
Joined
Sep 26, 2009
Messages
2,388
Is Bladestorm really Blademaster's Bladestorm ability? Or is it custom one?
Because I just created new map and I can't use Hex on hero who uses Bladestorm!

Anyway, you can make trigger which checks order:
  • Hex Check
    • Events
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • (Issued order) Equal to (Order(hex))
      • ((Target unit of issued order) is Magic Immune) Equal to True
    • Actions
      • Set u = (Triggering unit)
      • Unit - Pause u
      • Unit - Order u to Stop
      • Unit - Unpause u
      • Set u = No unit
      • -- You can add your custom error message here, so player knows why he cannot cast it --
Just tested it, Bladestorm-ing hero returns "Is Magic Immune" as True. Unless something went wrong in your map, it should stop the unit who was ordered to cast hex on Bladestorm-ing hero.
 
Status
Not open for further replies.
Top