Yeah... so I tested the script in solo and worked fine. But when I tried it in multiplayer, it would only work for player 1 (red) and not for the others.
I've been looking over it multiple times and I just couldn't find the problem so I'm posting it again.
Here are my triggers:
I've been looking over it multiple times and I just couldn't find the problem so I'm posting it again.
Here are my triggers:
-
init
-

Events
-


Map initialization
-
-

Conditions
-

Actions
-


Set TempPoint = (Center of Spawn <gen>)
-


Set TempForce = (All players controlled by a User player)
-


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



Loop - Actions
-




Set TempPlayer = (Picked player)
-




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





If - Conditions
-






(TempPlayer slot status) Equal to Is playing
-
-





Then - Actions
-






Set SurvivorsNum = (SurvivorsNum + 1)
-






Set TempUnit = (Last created unit)
-






Set TempPlayerNumber = (Player number of (Owner of TempUnit))
-






Player Group - Add TempPlayer to PlayersPlaying
-






Unit - Create 1 Crazy Survivor for TempPlayer at TempPoint facing Default building facing degrees
-






Set Survivors[TempPlayerNumber] = TempUnit
-






Camera - Pan camera for TempPlayer to TempPoint over 0.00 seconds
-
-





Else - Actions
-
-
-
-


Custom script: call DestroyForce (udg_TempForce)
-


Custom script: call RemoveLocation (udg_TempPoint)
-
-
-
RageMode
-

Events
-


Time - Every 30.00 seconds of game time
-
-

Conditions
-

Actions
-


Set PickedRandomPlayer = (Player number of (Random player from PlayersPlaying))
-


Set PickedRandomUnit = (Random unit from Zombies[PickedRandomPlayer])
-


Custom script: set udg_id = GetHandleId(udg_PickedRandomUnit)
-


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



If - Conditions
-




(0 is stored as a Integer of id in ragemodehashtable) Equal to False
-
-



Then - Actions
-




Hashtable - Save PickedRandomPlayer as 0 of id in ragemodehashtable
-




Unit - Change ownership of PickedRandomUnit to Player 12 (Brown) and Change color
-
-



Else - Actions
-
-
-
-
RageMode2
-

Events
-


Unit - A unit Is attacked
-
-

Conditions
-


((Attacked unit) is alive) Equal to True
-


(Life of (Attacked unit)) Less than or equal to 50.00
-


(Attacked unit) Equal to PickedRandomUnit
-
-

Actions
-


Unit - Make PickedRandomUnit Invulnerable
-


Unit - Set life of PickedRandomUnit to 100.00%
-


Unit - Change ownership of PickedRandomUnit to (Player((Load 0 of id from ragemodehashtable))) and Change color
-


Unit - Make PickedRandomUnit Vulnerable
-


Hashtable - Clear all child hashtables of child id in ragemodehashtable
-
-







