Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Place all players in a variable
Place all players in a variable
02-26-2004, 03:04 PM
#1
Oxygen87
Is it possible to place all players in the game in an array with a for loop?
Result will be like this:
players[1] = Player 1 (Red)
players[2] = Player 2 (Blue)
and so on...
02-26-2004, 03:07 PM
#2
Vexorian
But you can use Convert Index to Player can't you?
02-26-2004, 03:15 PM
#3
Oxygen87
What i want is to set a camera for all players.
Camera - Apply
02-26-2004, 03:46 PM
#4
DaKaN
for each integer a from 1 to (your max players) apply camera for Convert index to player(integer a)
02-26-2004, 03:50 PM
#5
Oxygen87
danke, now i learned some more about loops :D