Asiliuxas
A
Asiliuxas
-
Shit Is Broken
-

Events
-

Conditions
-

Actions
-


Player Group - Pick every player in Players and do (Actions)
-



Loop - Actions
-




Unit - Create 1 PICK for (Picked player) at (Center of (Playable map area)) facing Default building facing degrees
-




Set VariableSet PickerUnit[(Player number of (Picked player))] = (Last created unit)
-
-
-
-
I have tested it with variety of changes and nothing seems to work ( at least not when i need it ).
"Players" does contain every player ( that is playing, tested it multiple times ) and it works with seemingly every other function ( have not encountered it breaking elsewhere ). I have managed to work around the problem in less pleasing way.
A snippet of how it was used initially. This also has the for loop that I am using to bypass the issue.
-
PickingCreateTaven
-

Events
-

Conditions
-

Actions
-


Player Group - Pick every player in Players and do (Actions)
-



Loop - Actions
-




Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility from (Center of (Playable map area)) to a radius of 512.00.
-
-
-


Unit - Create 1 Portal for Neutral Passive at (Center of (Playable map area)) facing Default building facing degrees
-


Player Group - Pick every player in Players and do (Actions)
-



Loop - Actions
-




Camera - Pan camera for (Picked player) to (Center of (Playable map area)) over 0.00 seconds
-




Selection - Select (Last created unit) for (Picked player)
-
-
-


-------- THE SHIT IS BROKEN --------
-


Player Group - Pick every player in Players and do (Actions)
-



Loop - Actions
-




Unit - Create 1 PICK for (Picked player) at (Center of (Playable map area)) facing Default building facing degrees
-




Set VariableSet PickerUnit[(Player number of (Picked player))] = (Last created unit)
-
-
-


For each (Integer A) from 1 to 8, do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






((Player((Integer A))) slot status) Equal to Is playing
-
-





Then - Actions
-






Set VariableSet TempPoint = ((Center of (Playable map area)) offset by 256.00 towards ((Real((Integer A))) x 45.00) degrees.)
-






Unit - Create 1 PICK for (Player((Integer A))) at TempPoint facing Default building facing degrees
-






Set VariableSet PickerUnit[(Integer A)] = (Last created unit)
-






Custom script: call RemoveLocation(udg_TempPoint)
-
-





Else - Actions
-
-
-
-


Game - Display to (All players) the text: |cffffc832You have ...
-


Wait 20.00 seconds
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(PickingCheckForAll <gen> is on) Equal to True
-
-



Then - Actions
-




Player Group - Pick every player in Players and do (Actions)
-





Loop - Actions
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








PlayerPickedStatus[(Player number of (Picked player))] Equal to False
-
-







Then - Actions
-








Set VariableSet TempPlayer = (Picked player)
-








Trigger - Run PickingDetermineRandom <gen> (checking conditions)
-
-







Else - Actions
-
-
-
-
-



Else - Actions
-
-
-
Last edited by a moderator:




