HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Are players allies with themselves?

08-02-2006, 03:43 AM#1
darkwulfv
Ok, if I used the condition
Unit: Unit X is owned by ally of Player 1, would Player 1 fall under this condition? or is there a condition checking for the owner of the unit, as I am unable to find it if there is, like
Unit: Unit X is owned by Player 1.
Anyone?
08-02-2006, 03:50 AM#2
Naakaloh
It seems like the answer is probably yes, but instead of asking, you should just test it :)

Also, (GetOwningPlayer(whichUnit) == Player(X))
Probably under player conditions in GUI or whatever the category is.
08-02-2006, 04:01 AM#3
Rising_Dusk
Yes, players are allied with themselves.
08-02-2006, 04:01 AM#4
darkwulfv
Meh, I'm too lazy to test, and It;s not my map, it's a friend who wants me to help out, and it's a big-ass map that my damn computer can't handle well. I'll look again, but thanks. If I can't find it, does anyone know what the trigger is, since I don't beleive you can use custom script in conditions... :p, and my friend doesn't even know what JASS is...
EDIT: Oh, thanks Rising_Dusk... you posted while I was. Thanks for the answer...
08-02-2006, 04:31 AM#5
Pheonix-IV
You can make players unally themselves too, fun.
08-02-2006, 04:34 AM#6
Alevice
Quote:
Originally Posted by Pheonix-IV
You can make players unally themselves too, fun.

It probably means that army is leaderless and in a dissarray. I just pictured a player all of sudden sees all of his units killing each other for no apparent reason at all.
08-02-2006, 04:38 AM#7
Drain Pipe
Didn't Vex make a spell that did that?
08-02-2006, 05:05 AM#8
darkwulfv
Off topic-ness hooray! LOL a spell that makes a player turn on himself. (imagine a kid all of a sudden beating himself up... so crude) That would be scary though, all of a sudden your hero starts shredding your army while they try to kill one another, wow the chaos... Hmmm. Spell idea perhaps... Thxnks Drain Pipe...