| 08-02-2006, 03:43 AM | #1 |
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 |
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 |
Yes, players are allied with themselves. |
| 08-02-2006, 04:01 AM | #4 |
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 |
You can make players unally themselves too, fun. |
| 08-02-2006, 04:34 AM | #6 | |
Quote:
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 |
Didn't Vex make a spell that did that? |
| 08-02-2006, 05:05 AM | #8 |
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... |
