| 03-23-2004, 11:58 PM | #1 |
Q: Ok my map has constantly changing alliances and I wanted to make players 1-6 on a team meaning they would all be allied A: Code:
For each (Integer B) from 1 to 6, do (Actions)
Loop - Actions
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Player - Make (Player((Integer B))) treat (Player((Integer A))) as an Ally |
| 03-24-2004, 12:00 AM | #2 |
this would be easier to do in non/jass but whatever u prefer..lemme think about it all think about it O yes, please specify wat trigger u want and what u want it to do etc |
| 03-24-2004, 01:58 AM | #3 | ||
Quote:
Look at what I typed... Quote:
Be nice if people read the post before they replyed to it. :o |
| 03-24-2004, 02:18 AM | #4 |
You did not specify what your problem is. But anyway, this has nothing to do with JASS, so I'll move it to the Trigger Haven. |
| 03-30-2004, 11:16 AM | #5 | |
Quote:
"Ok my map has constantly changing alliances and I wanted to make players 1-6 on a team meaning they would all be allied " <-- this is what i WANT to do hence my problem is that I DONT KNOW HOW TO DO IT and im asking HOW TO DO IT! *edit* in case some ppl still dont get it the above is my problem, the problem is that i want to make players 1-6 (the number represents the player id, 1=red etc) on a team. It has nothing to do with jass because it is in jass? this can be done in jass it just so happens the code i used was in the GUI format, i've seen some jass people use the for each int a/b loops before. Its now back in ai/jass land! ^_^ ^_^ |
