• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] no attack stance

Status
Not open for further replies.
Level 13
Joined
Oct 28, 2019
Messages
523
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