Skip to content
Home
Post Code
Jass (Warcraft III)
Wurst
GUI (Warcraft III)
Galaxy (StarCraft II)
GUI (StarCraft II)
C++
Java
Delphi
Text
Search Code
Compare Code
Uploads
Draw
Create New Drawing
View Drawings
Graph
Log in
[code]Revive Red Team Events Unit [b]-[/b] Any Unit dies Local Variables Conditions [url=http://starcraft-mapping.de/wiki/Or]Or[/url] Conditions Picked Game [b]=[/b][b]=[/b] [color=FFFF77]1[/color] Picked Game [b]=[/b][b]=[/b] [color=FFFF77]2[/color] [b]([/b][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] is in Red Team [b])[/b] [b]=[/b][b]=[/b] True [b]([/b][b]([/b] Unit [color=7777FF][b]type[/b][/color] of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] is Hero [b])[/b] [b]=[/b][b]=[/b] True Actions Unit [b]-[/b] Revive[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b] Unit Selection [b]-[/b] Deselect[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b] [color=7777FF][b]for[/b][/color] [color=AA77FF]player[/color][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] Unit [b]-[/b] Hide[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b] Unit [b]-[/b] Move[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b] instantly to[b]([/b] Random point in Lifeless Region [b])[/b][b]([/b] No Blend [b])[/b] Variable [b]-[/b] Set [url=http://starcraft-mapping.de/wiki/Player]Player[/url] Deaths[b][[/b][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]][/b] [b]=[/b] [b]([/b] [url=http://starcraft-mapping.de/wiki/Player]Player[/url] Deaths[b][[/b][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]][/b] [b]+[/b] [color=FFFF77]1[/color] [b])[/b] Leaderboard [b]-[/b] Set Leaderboard Norm Boss [color=AA77FF]item[/color] text at column [color=FFFF77]3[/color] [color=7777FF][b]and[/b][/color] row[b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] to[b]([/b] Text[b]([/b] [url=http://starcraft-mapping.de/wiki/Player]Player[/url] Deaths[b][[/b][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]][/b] [b])[/b][b])[/b] Leaderboard [b]-[/b] Set Leaderboard Norm Boss [color=AA77FF]item[/color] progress bar at column [color=FFFF77]1[/color] [color=7777FF][b]and[/b][/color] row[b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] to range from [color=FFFF77]0[/color].[color=FFFF77]0[/color] to[b]([/b] [url=http://starcraft-mapping.de/wiki/Player]Player[/url] Deaths[b][[/b][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]][/b] [b]*[/b] [color=FFFF77]5[/color] [b])[/b] Leaderboard [b]-[/b] Show progress bar [color=7777FF][b]for[/b][/color] Leaderboard Norm Boss [color=AA77FF]item[/color] at column [color=FFFF77]1[/color] [color=7777FF][b]and[/b][/color] row[b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] General [b]-[/b] If[b]([/b] Conditions [b])[/b] [color=7777FF][b]then[/b][/color] do[b]([/b] Actions [b])[/b] [color=7777FF][b]else[/b][/color] do[b]([/b] Actions [b])[/b] If [b]([/b][b]([/b] Owner of[b]([/b] Killing [color=AA77FF]unit[/color] [b])[/b][b])[/b] is in Blue Team [b])[/b] [b]=[/b][b]=[/b] True [url=http://starcraft-mapping.de/wiki/Not]Not[/url] Conditions [b]([/b] Owner of[b]([/b] Killing [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]=[/b][b]=[/b] [b]([/b] [url=http://starcraft-mapping.de/wiki/Player]Player[/url] [color=FFFF77]10[/color] from Blue Team [b])[/b] Then Variable [b]-[/b] Set [url=http://starcraft-mapping.de/wiki/Player]Player[/url] Kills[b][[/b][b]([/b] Owner of[b]([/b] Killing [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]][/b] [b]=[/b] [b]([/b] [url=http://starcraft-mapping.de/wiki/Player]Player[/url] Kills[b][[/b][b]([/b] Owner of[b]([/b] Killing [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]][/b] [b]+[/b] [color=FFFF77]1[/color] [b])[/b] Leaderboard [b]-[/b] Set Leaderboard Norm Boss [color=AA77FF]item[/color] text at column [color=FFFF77]2[/color] [color=7777FF][b]and[/b][/color] row[b]([/b] Owner of[b]([/b] Killing [color=AA77FF]unit[/color] [b])[/b][b])[/b] to[b]([/b] Text[b]([/b] [url=http://starcraft-mapping.de/wiki/Player]Player[/url] Kills[b][[/b][b]([/b] Owner of[b]([/b] Killing [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]][/b] [b])[/b][b])[/b] Timer [b]-[/b] Start Death Timer[b][[/b][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]][/b] as a One Shot [color=AA77FF]timer[/color] that will expire in[b]([/b] [url=http://starcraft-mapping.de/wiki/Player]Player[/url] Deaths[b][[/b][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]][/b] [b]*[/b] [color=FFFF77]5[/color].[color=FFFF77]0[/color] [b])[/b] Game Time seconds General [b]-[/b] Wait [color=7777FF][b]for[/b][/color] Death Timer[b][[/b][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]][/b] to have [color=FFFF77]0[/color].[color=FFFF77]0[/color] seconds Remaining Leaderboard [b]-[/b] Hide progress bar [color=7777FF][b]for[/b][/color] Leaderboard Norm Boss [color=AA77FF]item[/color] at column [color=FFFF77]1[/color] [color=7777FF][b]and[/b][/color] row[b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] Unit [b]-[/b] Move[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b] instantly to[b]([/b] Random point in Red Teleport [color=AA77FF]region[/color] [b])[/b][b]([/b] No Blend [b])[/b] Unit [b]-[/b] Show[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b] Unit Selection [b]-[/b] Select[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b] [color=7777FF][b]for[/b][/color] [color=AA77FF]player[/color][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] Camera [b]-[/b] Pan the camera [color=7777FF][b]for[/b][/color] [color=AA77FF]player[/color][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] to[b]([/b] Center of Red Teleport [color=AA77FF]region[/color] [b])[/b] over [color=FFFF77]1[/color].[color=FFFF77]0[/color] seconds with Existing Velocity% initial velocity[b],[/b] [color=FFFF77]10[/color].0% deceleration[b],[/b] [color=7777FF][b]and[/b][/color] Do [url=http://starcraft-mapping.de/wiki/Not]Not[/url] use smart panning Else Timer [b]-[/b] Start Death Timer[b][[/b][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]][/b] as a One Shot [color=AA77FF]timer[/color] that will expire in[b]([/b] [url=http://starcraft-mapping.de/wiki/Player]Player[/url] Deaths[b][[/b][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]][/b] [b]*[/b] [color=FFFF77]5[/color].[color=FFFF77]0[/color] [b])[/b] Game Time seconds General [b]-[/b] Wait [color=7777FF][b]for[/b][/color] Death Timer[b][[/b][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] [b]][/b] to have [color=FFFF77]0[/color].[color=FFFF77]0[/color] seconds Remaining Leaderboard [b]-[/b] Hide progress bar [color=7777FF][b]for[/b][/color] Leaderboard Norm Boss [color=AA77FF]item[/color] at column [color=FFFF77]1[/color] [color=7777FF][b]and[/b][/color] row[b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] Unit [b]-[/b] Move[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b] instantly to[b]([/b] Random point in Red Teleport [color=AA77FF]region[/color] [b])[/b][b]([/b] No Blend [b])[/b] Unit [b]-[/b] Show[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b] Unit Selection [b]-[/b] Select[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b] [color=7777FF][b]for[/b][/color] [color=AA77FF]player[/color][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] Camera [b]-[/b] Pan the camera [color=7777FF][b]for[/b][/color] [color=AA77FF]player[/color][b]([/b] Owner of[b]([/b] Triggering [color=AA77FF]unit[/color] [b])[/b][b])[/b] to[b]([/b] Center of Red Teleport [color=AA77FF]region[/color] [b])[/b] over [color=FFFF77]1[/color].[color=FFFF77]0[/color] seconds with Existing Velocity% initial velocity[b],[/b] [color=FFFF77]10[/color].0% deceleration[b],[/b] [color=7777FF][b]and[/b][/color] Do [url=http://starcraft-mapping.de/wiki/Not]Not[/url] use smart panning [/code]
Diesen Code in Original-Formatierung anzeigen
select language
> jass
java
delphi
C++
php
GSL
galaxy
visualBasic
wurst
Text
Markdown
select style
default
> bbcode - default
Jasscraft
jasscraft html
visual
lightweight
lightweightNr
goto line:
Compare with:
text copy window
edit this code
post new code
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