• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Solved] no attack stance

Status
Not open for further replies.
Level 12
Joined
Oct 28, 2019
Messages
485
My dwarf has high damage that kill own troops if there are enemies nearby.

Need do a "no attack stance"

theres is a exemple what im doin, and any sugestion are welcome.

  • No Attack Stance
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to No Attack Stance
    • Actions
      • Trigger - Turn off (This trigger)
      • Unit - Set (Triggering unit) acquisition range to 0.00
      • Unit - Set Unit: (Triggering unit)'s Weapon Real Field: Attack Range ('ua1m')at Index:1 to Value: -600.00
      • Trigger - Turn on Yes Attack Stance 1 <gen>
      • Trigger - Turn on Yes Attack Stance 2 <gen>
  • Yes Attack Stance 1
    • Events
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • (Triggering unit) Equal to UnitDwarf1
    • Actions
      • Trigger - Turn off (This trigger)
      • Unit - Set (Triggering unit) acquisition range to 600.00
      • Unit - Set Unit: (Triggering unit)'s Weapon Real Field: Attack Range ('ua1m')at Index:1 to Value: 600.00
      • Trigger - Turn on No Attack Stance <gen>
this is not completely working, but im in this way
need really do this ty!! this the dwarf is going melee and explode himself, and there 2 trigger that can be triggered by the no attack stance (targetin an object) and (target a point). NEED HELP
 
Last edited:
Status
Not open for further replies.
Top