Name | Type | is_array | initial_value |
AntiLag | boolean | No | |
capVoteRecently | boolean | No | |
Defeat | boolean | No | false |
Force1 | force | No | |
Force2 | force | No | |
Income | integer | Yes | |
kickVoteRecently | boolean | No | |
LivesF1 | integer | No | 25 |
LivesF2 | integer | No | 25 |
Next_Level | timer | No | |
numRaces | integer | No | |
PlayerCount | integer | No | 0 |
racesUnitType | unitcode | Yes | |
Sell | unitcode | No | nC57 |
shrineOwners | player | Yes | |
shrines | unit | Yes | |
StringParam | string | No | |
tempInt | integer | No | |
tempPlayer | player | No | |
tempPoint | location | No | |
tempPoint1 | location | No | |
tempUnit | unit | No | |
tempUnitGroup | group | No | |
tempUnitGroup1 | group | No | |
tempUnitGroup2 | group | No | |
timeSinceCapVote | timer | No | |
timeSinceKickVote | timer | No | |
unitCap | integer | No | |
UnitsBottomCenter | group | No | |
UnitsBottomEnd | group | No | |
UnitsBottomLeftInner | group | No | |
UnitsBottomLeftOuter | group | No | |
UnitsBottomRightInner | group | No | |
UnitsBottomRightOuter | group | No | |
UnitsTopCenter | group | No | |
UnitsTopEnd | group | No | |
UnitsTopLeftInner | group | No | |
UnitsTopLeftOuter | group | No | |
UnitsTopRightInner | group | No | |
UnitsTopRightOuter | group | No | |
voteButtons | button | Yes | |
voteChoices | string | Yes | |
voteCount | integer | No | |
voteDialog | dialog | Yes | |
voteMultiTrigger | boolean | No | |
voteNumChoices | integer | No | |
voteResult | integer | Yes | |
voteTimer | timer | No | |
voteTriggers | trigger | Yes | |
voteTypeChoice | boolean | No | |
voteWinner | integer | No | |
waitDialog | dialog | No |
function Trig_Show_Stats_All_Func003001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(0)) == PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Show_Stats_All_Func004001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(1)) == PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Show_Stats_All_Func005001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(2)) == PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Show_Stats_All_Func007001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(3)) == PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Show_Stats_All_Func008001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(4)) == PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Show_Stats_All_Func009001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(5)) == PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Show_Stats_All_Actions takes nothing returns nothing
local integer Income
set Income = 0
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, " " )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_684" )
if ( Trig_Show_Stats_All_Func003001() ) then
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( ( " |c00ff0000" + GetPlayerName(Player(0)) ) + ( "'s Income:|r " + I2S(udg_Income[GetConvertedPlayerId(Player(0))]) ) ) )
set Income = udg_Income[GetConvertedPlayerId(Player(0))]
else
call DoNothing( )
endif
if ( Trig_Show_Stats_All_Func004001() ) then
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( ( " |c000000ff" + GetPlayerName(Player(1)) ) + ( "'s Income:|r " + I2S(udg_Income[GetConvertedPlayerId(Player(1))]) ) ) )
set Income = Income + udg_Income[GetConvertedPlayerId(Player(1))]
else
call DoNothing( )
endif
if ( Trig_Show_Stats_All_Func005001() ) then
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( ( " |c00008080" + GetPlayerName(Player(2)) ) + ( "'s Income:|r " + I2S(udg_Income[GetConvertedPlayerId(Player(2))]) ) ) )
set Income = Income + udg_Income[GetConvertedPlayerId(Player(2))]
else
call DoNothing( )
endif
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, " Force 1 Total Income: " + I2S(Income) )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, " " )
set Income = 0
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_685" )
if ( Trig_Show_Stats_All_Func007001() ) then
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( ( " |c00800080" + GetPlayerName(Player(3)) ) + ( "'s Income:|r " + I2S(udg_Income[GetConvertedPlayerId(Player(3))]) ) ) )
set Income = udg_Income[GetConvertedPlayerId(Player(3))]
else
call DoNothing( )
endif
if ( Trig_Show_Stats_All_Func008001() ) then
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( ( " |c00ffff00" + GetPlayerName(Player(4)) ) + ( "'s Income:|r " + I2S(udg_Income[GetConvertedPlayerId(Player(4))]) ) ) )
set Income = Income + udg_Income[GetConvertedPlayerId(Player(4))]
else
call DoNothing( )
endif
if ( Trig_Show_Stats_All_Func009001() ) then
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( ( " |c00ff8040" + GetPlayerName(Player(5)) ) + ( "'s Income:|r " + I2S(udg_Income[GetConvertedPlayerId(Player(5))]) ) ) )
set Income = Income + udg_Income[GetConvertedPlayerId(Player(5))]
else
call DoNothing( )
endif
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, " Force 2 Total Income: " + I2S(Income) )
endfunction
//===========================================================================
function InitTrig_Show_Stats_All takes nothing returns nothing
set gg_trg_Show_Stats_All = CreateTrigger( )
call TriggerAddAction( gg_trg_Show_Stats_All, function Trig_Show_Stats_All_Actions )
endfunction