- Joined
- Mar 27, 2019
- Messages
- 56
Hi there,
if I disable the Tutorial Trigger the Game no longer desyncs at the 30s - 60s mark.
Down below is every trigger related to the Tutorial Trigger.
I dont see a obvious reason for a desync, can anyone help me out here?
if I disable the Tutorial Trigger the Game no longer desyncs at the 30s - 60s mark.
Down below is every trigger related to the Tutorial Trigger.
I dont see a obvious reason for a desync, can anyone help me out here?
-
Game l Tutorial
-
Events
-
Time - Elapsed game time is 5.00 seconds
-
-
Conditions
-
Actions
-
Trigger - Turn on Unit l End Boss <gen>
-
-------- - --------
-
Neutral Building - Add |cffFFFFDELevel 1 Boss (Dummy) to all marketplaces with 0 in stock and a max stock of 1
-
Cinematic - Clear the screen of text messages for (All players).
-
Game - Display to (All players) for 13.32 seconds the text: |cffff9619» This i...
-
Game - Display to (All players) for 13.32 seconds the text:
-
Sound - Play Hint <gen>
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
Unit - Unpause Player_Builder[(Integer A)]
-
Selection - Select Player_Headquarter[(Integer A)] for (Player((Integer A)))
-
-
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
Camera - Lock camera target for (Owner of Player_Headquarter[(Integer A)]) to Player_Headquarter[(Integer A)], offset by (0.00, 0.00) using Default rotation
-
-
-
Wait 3.33 seconds
-
Cinematic - Clear the screen of text messages for (All players).
-
Game - Display to (All players) for 9.99 seconds the text: |cffff9619» This i...
-
Game - Display to (All players) for 9.99 seconds the text:
-
Sound - Play Hint <gen>
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
Set VariableSet Temp_Point = (Position of Player_Barrack[(Integer A)])
-
Camera - Pan camera for (Player((Integer A))) to Temp_Point over 1.00 seconds
-
Selection - Select Player_Barrack[(Integer A)] for (Player((Integer A)))
-
Custom script: RemoveLocation(udg_Temp_Point)
-
-
-
Wait 1.00 seconds
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
Camera - Lock camera target for (Owner of Player_Barrack[(Integer A)]) to Player_Barrack[(Integer A)], offset by (0.00, 0.00) using Default rotation
-
-
-
Wait 2.33 seconds
-
Cinematic - Clear the screen of text messages for (All players).
-
Game - Display to (All players) for 6.66 seconds the text: |cffff9619» This i...
-
Game - Display to (All players) for 6.66 seconds the text:
-
Sound - Play Hint <gen>
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
Set VariableSet Temp_Point = (Position of Player_Builder[(Integer A)])
-
Camera - Pan camera for (Player((Integer A))) to Temp_Point over 1.00 seconds
-
Selection - Select Player_Builder[(Integer A)] for (Player((Integer A)))
-
Custom script: RemoveLocation(udg_Temp_Point)
-
-
-
Wait 1.00 seconds
-
Set VariableSet Temp_Group = (Units of type |cffFFFF00Void Aura)
-
Unit Group - Pick every unit in Temp_Group and do (Actions)
-
Loop - Actions
-
Unit - Unhide (Picked unit)
-
-
-
Custom script: DestroyGroup(udg_Temp_Group)
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
Set VariableSet Temp_Point = (Position of Player_Builder[(Integer A)])
-
Set VariableSet Temp_Group = (Units within 1024.00 of Temp_Point matching ((((Matching unit) is A sapper) Equal to Wahr) and ((Matching unit) Not equal to Player_Builder[(Integer A)])).)
-
Unit Group - Pick every unit in Temp_Group and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of Player_Builder[(Integer A)]) slot status) Equal to Is playing
-
((Owner of Player_Builder[(Integer A)]) slot status) Not equal to Has left the game
-
-
Then - Actions
-
Unit - Add Tower Range Indicator (Aura) to (Picked unit)
-
Unit - Change ownership of (Picked unit) to (Owner of Player_Builder[(Integer A)]) and Change color
-
-
Else - Actions
-
Unit - Remove (Picked unit) from the game
-
-
-
-
-
Custom script: RemoveLocation(udg_Temp_Point)
-
Custom script: DestroyGroup(udg_Temp_Group)
-
Camera - Lock camera target for (Owner of Player_Builder[(Integer A)]) to Player_Builder[(Integer A)], offset by (0.00, 0.00) using Default rotation
-
-
-
Set VariableSet Temp_Group = (Units of type |cffFFFF00Void Aura)
-
Unit Group - Pick every unit in Temp_Group and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Picked unit)) Equal to Neutral Passive
-
-
Then - Actions
-
Unit - Remove (Picked unit) from the game
-
-
Else - Actions
-
Set VariableSet Temp_Point = (Position of (Picked unit))
-
Special Effect - Create a special effect at Temp_Point using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
-
Special Effect - Set Scale of (Last created special effect) to 1.25
-
Special Effect - Set Position - Z of (Last created special effect) to ((Position - Z of (Picked unit)) + 128.00)
-
Special Effect - Destroy (Last created special effect)
-
Custom script: RemoveLocation(udg_Temp_Point)
-
-
-
-
-
Custom script: DestroyGroup(udg_Temp_Group)
-
Wait 2.33 seconds
-
Countdown Timer - Start Game_Save_Timer as a Repeating timer that will expire in 60.00 seconds
-
Leaderboard - Change the title of Game_Leaderboard to (Income in + (String(Game_Count)))
-
Cinematic - Clear the screen of text messages for (All players).
-
Game - Display to (All players) for 3.33 seconds the text: |cffff9619» The Ga...
-
Game - Display to (All players) for 3.33 seconds the text:
-
Sound - Play GameFound <gen>
-
Countdown Timer - Start Game_Timer as a Repeating timer that will expire in 1.00 seconds
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player_Builder[(Integer A)] is alive) Equal to Wahr
-
-
Then - Actions
-
Unit - Set Player_Builder[(Integer A)] movement speed to 400.00
-
Special Effect - Create a special effect attached to the origin of Player_Builder[(Integer A)] using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
-
Special Effect - Set Scale of (Last created special effect) to 0.50
-
Special Effect - Destroy (Last created special effect)
-
Set VariableSet Temp_Point = (Position of Player_Builder[(Integer A)])
-
Camera - Pan camera for (Owner of Player_Builder[(Integer A)]) to Temp_Point over 0.00 seconds
-
Custom script: RemoveLocation(udg_Temp_Point)
-
-
Else - Actions
-
-
-
-
Neutral Building - Remove |cffFFFFDELevel 1 Boss (Dummy) from all marketplaces
-
Neutral Building - Add |cffFFFFDELevel 1 Boss to all marketplaces with 0 in stock and a max stock of 1
-
-
-
Unit l End Boss
-
Events
-
Unit - A unit enters (Entire map)
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to |cff520808Bloodheaven
-
-
Actions
-
Game - Display to (All players) for 5.00 seconds the text: (|cffffffc8The first |cffff6464Bloodheaven|r |cffffffc8has been sent!|r + <Empty String>)
-
Set VariableSet Temp_Unit = |cffFFA07AStronghold Clash|r 0056 <gen>
-
Set VariableSet Temp_String = Sound/Interface/Rescue.wav
-
Sound - Set pitch of Game_lastCreatedSound to 1.25
-
Custom script: AttachSoundUnit(udg_Temp_Unit, udg_Temp_String, 155, 1, 2000, false, false, 0, 1000000000)
-
Sound - Destroy Game_lastCreatedSound
-
Trigger - Turn off (This trigger)
-
-
-
Game l Global Income
-
Events
-
Time - Game_Timer expires
-
-
Conditions
-
Actions
-
Set VariableSet Game_Count = (Game_Count - 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Game_Count Equal to 8
-
-
Then - Actions
-
Trigger - Run Aura l Level Auto <gen> (ignoring conditions)
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Send_Toggle[(Integer A)] Equal to Wahr
-
Send_Amount[(Integer A)] Greater than 0
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Send_Amount[(Integer A)] Greater than 5
-
-
Then - Actions
-
For each (Integer B) from 1 to 5, do (Actions)
-
Loop - Actions
-
Unit - Order Player_Barrack[(Integer A)] to train/upgrade to a Send_Type[(Integer A)]
-
-
-
Unit - Order Player_Barrack[(Integer A)] to train/upgrade to a Send_Type[(Integer A)]
-
-
Else - Actions
-
For each (Integer B) from 1 to Send_Amount[(Integer A)], do (Actions)
-
Loop - Actions
-
Unit - Order Player_Barrack[(Integer A)] to train/upgrade to a Send_Type[(Integer A)]
-
-
-
-
-
-
Else - Actions
-
-
-
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Game_Count Less than or equal to 0
-
-
Then - Actions
-
Sound - Play IncomeGold <gen>
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
Player - Add Player_Income[(Integer A)] to (Player((Integer A))).Current gold
-
Player - Add (Player_Income[(Integer A)] / 10) to (Player((Integer A))).Current lumber
-
-
-
Set VariableSet Game_Count = Game_Income_Display
-
Trigger - Run Game l Boss Replacement <gen> (ignoring conditions)
-
-
Else - Actions
-
-
Leaderboard - Change the title of Game_Leaderboard to (Income in + (String(Game_Count)))
-
-
-
Aura l Level Auto
-
Events
-
Conditions
-
Actions
-
Unit Group - Pick every unit in Group_Aura and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Point-value of (Picked unit)) Greater than or equal to 9
-
-
Then - Actions
-
Unit Group - Remove (Picked unit) from Group_Aura.
-
-
Else - Actions
-
Set VariableSet Temp_Integer = (Load 0 of (Key (Picked unit).) from Game_Hashtable.)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Game_Aura[Temp_Integer] for (Picked unit)) Greater than 0
-
(Point-value of (Picked unit)) Less than (Load (5 + Temp_Integer) of (Key (Owner of (Picked unit)).) from Game_Hashtable.)
-
-
Then - Actions
-
Unit - Order (Picked unit) to train/upgrade to a Game_Aura_Type[(((Temp_Integer - 1) x 9) + ((Point-value of (Picked unit)) + 1))]
-
-
Else - Actions
-
-
-
-
-
-
-
-
Game l Boss Replacement
-
Events
-
Conditions
-
Actions
-
Set VariableSet Temp_Integer = (Load 0 of 0 from Game_Hashtable.)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Temp_Integer Less than or equal to 0
-
-
Then - Actions
-
Neutral Building - Remove |cffFFFFDELevel 1 Boss (Dummy) from all marketplaces
-
Neutral Building - Remove |cffFFFFDELevel 1 Boss from all marketplaces
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
Player - Make |cffFFFFDELevel 1 Boss Available for training/construction by (Player((Integer A)))
-
-
-
Custom script: DestroyTrigger(GetTriggeringTrigger())
-
-
Else - Actions
-
Hashtable - Save ((Load 0 of 0 from Game_Hashtable.) - 1) as 0 of 0 in Game_Hashtable.
-
-
-
-