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

Unit belongs to an ally of Player Problem.

Status
Not open for further replies.
Level 23
Joined
Feb 6, 2014
Messages
2,466
I have a unit owned by player 1. When I use the boolean condition Unit belongs to an ally of Player(1), the result is TRUE. However when I use the boolean condition Unit belongs to an ally of Player(7), the result is also TRUE even though player 1 and player 7 belongs in different forces and units of player 1 attacks units of player 7 automatically. What causes this problem?
 
Level 23
Joined
Feb 6, 2014
Messages
2,466
Nevermind, I managed to fix the problem by using the trigger, A unit owned by Player (event). By the way, it was not wrong with the player properties and forces and I tested it in a new map and it works meaning one condition is true. Then I copied the same trigger to my map and both conditions true. So it is still a mystery.
 
Status
Not open for further replies.
Top