byond - Modules - TypesVar Details - Proc Details

campaign

Vars

current_missionThe current mission type being played
player_death_timesList of death times by ckey. Used for respawn time
respawn_timersList of timers to auto open the respawn window
stat_listcampaign stats organised by faction

Procs

IsJobAvailableCheck which jobs are valid, to add to the job selector menu
attempt_attrition_respawnrespawns the player if attrition points are available
attrition_respawnActually respawns the player, if still able
auto_attempt_respawnAuto pops up the respawn window
autobalance_bonusbuffs the weaker team if players don't voluntarily switch
autobalance_check
autobalance_cycleChecks team balance and tries to correct if possible
cut_death_listcuts the death time and respawn_timers list at mission end
end_missionHandles post mission cleanup
load_new_missionsets up the newly selected mission
register_faction_memberSets up newly spawned players with the campaign status verb
scale_loadoutsLimited loadout quantities scale by pop
set_death_timeRecords the players death time for respawn time purposes
shuffle_teamsShuffles the teams forcefully
swap_player_teamActually swaps the player to the other team, unless balance has been restored

Var Details

current_mission

The current mission type being played

player_death_times

List of death times by ckey. Used for respawn time

respawn_timers

List of timers to auto open the respawn window

stat_list

campaign stats organised by faction

Proc Details

IsJobAvailable

Check which jobs are valid, to add to the job selector menu

attempt_attrition_respawn

respawns the player if attrition points are available

attrition_respawn

Actually respawns the player, if still able

auto_attempt_respawn

Auto pops up the respawn window

autobalance_bonus

buffs the weaker team if players don't voluntarily switch

autobalance_check

autobalance_cycle

Checks team balance and tries to correct if possible

cut_death_list

cuts the death time and respawn_timers list at mission end

end_mission

Handles post mission cleanup

load_new_mission

sets up the newly selected mission

register_faction_member

Sets up newly spawned players with the campaign status verb

scale_loadouts

Limited loadout quantities scale by pop

set_death_time

Records the players death time for respawn time purposes

shuffle_teams

Shuffles the teams forcefully

swap_player_team

Actually swaps the player to the other team, unless balance has been restored