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

"Unit has buff" bug

Status
Not open for further replies.
Level 12
Joined
Jan 13, 2008
Messages
559
  • Wrathblades Burnout Grp
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Game - Display to (All players) the text: (String((Number of units in burnoutGroup)))
      • Unit Group - Pick every unit in burnoutGroup and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) has buff Roar) Equal to False
            • Then - Actions
              • Game - Display to (All players) the text: d
              • Unit Group - Remove (Picked unit) from burnoutGroup
              • Set temp_point = (Position of (Picked unit))
              • Unit - Create 1 dummy_burnoutAbility for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
              • Unit - Order (Last created unit) to Human Priest - Inner Fire (Picked unit)
              • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
              • Custom script: call RemoveLocation(udg_temp_point)
            • Else - Actions
When casting roar, the triggering unit gets added to the group "burnout". But then the unit gets immediately removed from the group even tho it still has the roar buff ??
 
Status
Not open for further replies.
Top