• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Dummy own't cast

Status
Not open for further replies.
Level 11
Joined
Feb 16, 2009
Messages
760
My trigger is supposed too make the dummy cast a custom breath of fire if the ability is learned, but it won't. Its used with a damage detection system so dont worry.
  • Earthen Mastery
    • Events
    • Conditions
      • (Random integer number between 1 and 100) Less than or equal to 20
    • Actions
      • Set TempPoint = (Position of (Triggering unit))
      • Set Angle = (Random real number between 0.00 and 360.00)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Pyrostrike for (Triggering unit)) Greater than or equal to 1
        • Then - Actions
          • Game - Display to (All players) the text: LOLOLOLOL
          • Set TempPoint2 = (TempPoint offset by 100.00 towards Angle degrees)
          • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TempPoint facing Angle degrees
          • Unit - Add Breath of Fire (Neutral Hostile) to (Last created unit)
          • Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
          • Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire TempPoint2
          • Custom script: call RemoveLocation(udg_TempPoint2)
        • Else - Actions
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • Set TempPoint2 = (TempPoint offset by ((Real((Integer A))) x 100.00) towards Angle degrees)
          • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TempPoint2 facing Angle degrees
          • Unit - Add Dummy Clap to (Last created unit)
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
          • Custom script: call RemoveLocation(udg_TempPoint2)
      • Custom script: call RemoveLocation(udg_TempPoint)
 
Status
Not open for further replies.
Top