Left mouse button (attack/move)

Level 14
Joined
Oct 28, 2019
Messages
536
  • Attack
    • Events
      • Player - Player 1 (Red) Selects a unit
    • Conditions
      • (Triggering unit) Not equal to Archmage 0084 <gen>
    • Actions
      • Unit - Order HeroVariableP1 to Attack Once (Triggering unit)
      • Trigger - Turn off StopAttack <gen>
      • Wait 0.50 seconds (heres the problem)
      • Trigger - Turn on StopAttack <gen>
  • Move
    • Events
      • Player - Player 1 (Red) issues Mouse Down event
    • Conditions
      • (Trigger Mouse Button) Equal to Left Mouse Button
    • Actions
      • Set VariableSet MouseClickP1 = (Mouse Position for Triggered Mouse Event)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Number of units in (Units within 50.00 of MouseClickP1.)) Less than or equal to 0
        • Then - Actions
          • Wait 0.05 seconds
          • Unit - Order HeroVariableP1 to Move To MouseClickP1
        • Else - Actions
Hi everyone! I'm trying to create mouse events for move/attack using the native GUI editor. It's almost done — is there any way to improve this?
 
Back
Top