Revive Red Team
Events
Unit - Any Unit dies
Local Variables
Conditions
Or
Conditions
Picked Game == 1
Picked Game == 2
(( Owner of( Triggering unit )) is in Red Team ) == True
(( Unit type of( Triggering unit )) is Hero ) == True
Actions
Unit - Revive( Triggering unit )
Unit Selection - Deselect( Triggering unit ) for player( Owner of( Triggering unit ))
Unit - Hide( Triggering unit )
Unit - Move( Triggering unit ) instantly to( Random point in Lifeless Region )( No Blend )
Variable - Set Player Deaths[( Owner of( Triggering unit )) ] = ( Player Deaths[( Owner of( Triggering unit )) ] + 1 )
Leaderboard - Set Leaderboard Norm Boss item text at column 3 and row( Owner of( Triggering unit )) to( Text( Player Deaths[( Owner of( Triggering unit )) ] ))
Leaderboard - Set Leaderboard Norm Boss item progress bar at column 1 and row( Owner of( Triggering unit )) to range from 0.0 to( Player Deaths[( Owner of( Triggering unit )) ] * 5 )
Leaderboard - Show progress bar for Leaderboard Norm Boss item at column 1 and row( Owner of( Triggering unit ))
General - If( Conditions ) then do( Actions ) else do( Actions )
If
(( Owner of( Killing unit )) is in Blue Team ) == True
Not
Conditions
( Owner of( Killing unit )) == ( Player 10 from Blue Team )
Then
Variable - Set Player Kills[( Owner of( Killing unit )) ] = ( Player Kills[( Owner of( Killing unit )) ] + 1 )
Leaderboard - Set Leaderboard Norm Boss item text at column 2 and row( Owner of( Killing unit )) to( Text( Player Kills[( Owner of( Killing unit )) ] ))
Timer - Start Death Timer[( Owner of( Triggering unit )) ] as a One Shot timer that will expire in( Player Deaths[( Owner of( Triggering unit )) ] * 5.0 ) Game Time seconds
General - Wait for Death Timer[( Owner of( Triggering unit )) ] to have 0.0 seconds Remaining
Leaderboard - Hide progress bar for Leaderboard Norm Boss item at column 1 and row( Owner of( Triggering unit ))
Unit - Move( Triggering unit ) instantly to( Random point in Red Teleport region )( No Blend )
Unit - Show( Triggering unit )
Unit Selection - Select( Triggering unit ) for player( Owner of( Triggering unit ))
Camera - Pan the camera for player( Owner of( Triggering unit )) to( Center of Red Teleport region ) over 1.0 seconds with Existing Velocity% initial velocity, 10.0% deceleration,  and Do Not use smart panning
Else
Timer - Start Death Timer[( Owner of( Triggering unit )) ] as a One Shot timer that will expire in( Player Deaths[( Owner of( Triggering unit )) ] * 5.0 ) Game Time seconds
General - Wait for Death Timer[( Owner of( Triggering unit )) ] to have 0.0 seconds Remaining
Leaderboard - Hide progress bar for Leaderboard Norm Boss item at column 1 and row( Owner of( Triggering unit ))
Unit - Move( Triggering unit ) instantly to( Random point in Red Teleport region )( No Blend )
Unit - Show( Triggering unit )
Unit Selection - Select( Triggering unit ) for player( Owner of( Triggering unit ))
Camera - Pan the camera for player( Owner of( Triggering unit )) to( Center of Red Teleport region ) over 1.0 seconds with Existing Velocity% initial velocity, 10.0% deceleration,  and Do Not use smart panning
 

Diesen Code in Original-Formatierung anzeigen
goto line:
Compare with:
text copy window edit this code post new code