• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Are you allied with yourself

Status
Not open for further replies.
Level 8
Joined
Sep 18, 2011
Messages
195
IsUnitAlly takes unit whichUnit player whichPlayer returns boolean

This function takes a unit (for example it is the same player) and a player it returns:

TRUE - PLahyer owns the unit / Player is an ally of the owner
FALSE - Player is an enemy to the owner

(What does the title say i dont even)
 
Status
Not open for further replies.
Top