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

Units not attacking ground by triggers!

Status
Not open for further replies.
Level 11
Joined
Nov 1, 2008
Messages
828
Don't mind the leaks...

I have set the range for the unit to 999999 and once the unit spawns it just sits there doing nothing, the unit is added to the group once entered the region. similar to uther party...

Any help?? +rep

  • Untitled Trigger 012
    • Events
      • Time - Every 4.00 seconds of game time
    • Conditions
    • Actions
      • Set Random_Shoot = (Random integer number between 1 and 3)
      • Unit Group - Pick every unit in Caltupults[2] and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Random_Shoot Equal to 1
            • Then - Actions
              • Unit - Order (Picked unit) to Attack Ground (Random point in Region 227 <gen>)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Random_Shoot Equal to 2
                • Then - Actions
                  • Unit - Order (Picked unit) to Attack Ground (Random point in Region 228 <gen>)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Random_Shoot Equal to 3
                    • Then - Actions
                      • Unit - Order (Picked unit) to Attack Ground (Random point in Region 230 <gen>)
                    • Else - Actions
      • Unit Group - Pick every unit in Caltupults[3] and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Attack Ground (Random point in Region 229 <gen>)
      • Unit Group - Pick every unit in Caltupults[1] and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Attack Ground (Random point in Region 229 <gen>)
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Perhaps it has something to do with the unit itself ?

Does your unit is equipped with "Attack Ground" ability ?

Just like Demolisher, or Meat Wagon

If it's not, just change its Combat - Attack 1 - Weapon Type to Artillery.
 
Status
Not open for further replies.
Top