- Joined
- Mar 27, 2019
- Messages
- 56
Hey there,
I'm currently trying to work with the loop function and trying to assign every player a different value from each other.
Player_ID[1] = 7
Player_ID[2] = 5
Player_ID[3] = 8
Player_ID[4] = 7 --> 5 --> 2
Player_ID[5] = 4
etc.
Any help would be highly appreciated!
I'm currently trying to work with the loop function and trying to assign every player a different value from each other.
-
Actions
-
Set VariableSet Temp_Integer = 0
-
Custom script: loop
-
Set VariableSet Temp_Integer = (Temp_Integer + 1)
-
Set VariableSet Player_ID[Temp_Integer] = (Random integer number between 1 and 8)
-
Custom script: exitwhen udg_Temp_Integer == 8
-
Custom script: endloop
-
Player_ID[1] = 7
Player_ID[2] = 5
Player_ID[3] = 8
Player_ID[4] = 7 --> 5 --> 2
Player_ID[5] = 4
etc.
Any help would be highly appreciated!