• 🏆 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] why does this not work?

Status
Not open for further replies.
Level 24
Joined
Jun 16, 2008
Messages
1,939
  • War Thunder Cast
    • Events
      • Unit - A unit starts the effect of an ability
    • Conditions
      • (Ability being cast) equal to War Thunder
    • Actions
      • Set Caster = (Triggering unit)
      • Set VarLoc_01 = (Position of (Triggering unit))
      • Set VarReal = 0.00
      • For each (Integer A) from 1 to 8, do (Actions)
        • Loop - Actions
          • Unit - Create 1 Arbeiter for (Owner of Caster) at VarLoc_01 facing default building facing degrees
            • Unit - Turn collision for Last created Unit Off
            • Unit - Add Schockwelle Dummy to (Last created unit)
            • Unit - Set level of Schockwelle Dummy for (Last created unit) to (Level of War Thunder for (Triggering unit))
            • Set VarLoc_02[(Integer A)] = (VarLoc_01 offset by 700.00 towards VarReal degrees)
            • Unit - Order (Last created unit) to Orc-Tauren-Häuptling - 'Shockwave' VarLoc_02[(Integer A)]
            • Set VarReal = (VarReal + (360.00 / 8.00))
            • Unit - Add a 1.00 second Standard expiration timer to (Last created unit)
            • Custom script: call RemoveLocation(udg_VarLoc_02[bj_forLoopAIndex])
      • Custom script: call RemoveLocation(udg_VarLoc_01)
      • Custom script: set udg_Caster = null
      • Custom script: set udg_VarReal = 0
 
Last edited:
Status
Not open for further replies.
Top