- Joined
- Mar 24, 2020
- Messages
- 80
Hello,
During gameplay, players can occasionally lose control of a unit. They would have the unit selected, but it wouldn't respond to any actions like move or to cast an ability. To regain control of the unit, the player would need to select another unit and then reselect the original unit. The issue occurs rarely, but usually to at least 1 or 2 players per game.
Has anyone experienced an issue like this and found an occurrence?
It's hard for me to pinpoint a timeframe when the bug started re-occurring enough for me to realize it must be a trigger or something disrupting the gameplay. However, I think the below trigger is my best bet for where the cause is, due to the fact it manipulates a players selection. The trigger simply allows a player to scroll between their Leader unit and their Hero easily.
Does anyone see an issue with the below trigger that may cause these issues?
Thanks!
During gameplay, players can occasionally lose control of a unit. They would have the unit selected, but it wouldn't respond to any actions like move or to cast an ability. To regain control of the unit, the player would need to select another unit and then reselect the original unit. The issue occurs rarely, but usually to at least 1 or 2 players per game.
Has anyone experienced an issue like this and found an occurrence?
It's hard for me to pinpoint a timeframe when the bug started re-occurring enough for me to realize it must be a trigger or something disrupting the gameplay. However, I think the below trigger is my best bet for where the cause is, due to the fact it manipulates a players selection. The trigger simply allows a player to scroll between their Leader unit and their Hero easily.
Does anyone see an issue with the below trigger that may cause these issues?
-
Esc Command
-
Events
-
Player - Player 1 (Red) skips a cinematic sequence
-
Player - Player 2 (Blue) skips a cinematic sequence
-
Player - Player 3 (Teal) skips a cinematic sequence
-
Player - Player 4 (Purple) skips a cinematic sequence
-
Player - Player 5 (Yellow) skips a cinematic sequence
-
Player - Player 6 (Orange) skips a cinematic sequence
-
Player - Player 7 (Green) skips a cinematic sequence
-
Player - Player 8 (Pink) skips a cinematic sequence
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Random unit from (Units currently selected by (Triggering player)))) Not equal to Leader
-
-
Then - Actions
-
Set VariableSet TempPoint = (Position of Leaders[(Player number of (Triggering player))])
-
Camera - Pan camera for (Triggering player) to TempPoint over 0.00 seconds
-
Selection - Select Leaders[(Player number of (Triggering player))] for (Triggering player)
-
Custom script: call RemoveLocation(udg_TempPoint)
-
-
Else - Actions
-
Set VariableSet TempPoint = (Position of Heroes[(Player number of (Triggering player))])
-
Camera - Pan camera for (Triggering player) to TempPoint over 0.00 seconds
-
Selection - Select Heroes[(Player number of (Triggering player))] for (Triggering player)
-
Custom script: call RemoveLocation(udg_TempPoint)
-
-
-
-
Thanks!