• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Why my other AI allies still attacking me?

Status
Not open for further replies.
Level 3
Joined
Jan 21, 2011
Messages
46
:fp: i hope you understand my english,


I have 8 players in my map

formatu.jpg


when PvP_Time3 expires, it will move in PvP area

now my problem is my AI allies still attacking me?


I already put this

  • ANTI attack team
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) is A Hero) Equal to True
      • ((Attacking unit) is A ground unit) Equal to True
      • ((Owner of (Attacking unit)) is an ally of (Owner of (Attacked unit))) Equal to True
    • Actions
      • Unit - Order (Attacking unit) to Stop


here's my trigger for pvp

  • TwovsTwotimerMODE
    • Events
      • Time - PvP_Time3 expires
    • Conditions
    • Actions
      • Trigger - Turn on FFAtimer <gen>
      • Unit - Pause all units
      • Wait 0.10 seconds
      • Unit - Unpause all units
      • Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
        • Loop - Actions
          • For each (Integer A) from 1 to 4, do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Integer A) Not equal to (Player number of (Picked player))
                • Then - Actions
                  • Player - Make (Picked player) treat (Player((Integer A))) as an Enemy
                • Else - Actions
 
Last edited:
Level 3
Joined
Jan 21, 2011
Messages
46
yes i already checked it, it's wierd they can attack and cast spell on me like stormbolt but i cant cast spell to them because they are my allies. Zzz
 
Status
Not open for further replies.
Top