highlander_controller

The highlander controller handles the admin highlander mode, if enabled. It is first created when "there can only be one" triggers it, and it can be referenced from GLOB.highlander_controller
Procs | |
new_highlander | Triggers at beginning of the game when there is a confirmed list of valid, ready players. Creates a 100% ready game that has NOT started (no players in bodies) Followed by start game |
---|
Proc Details
new_highlander
Triggers at beginning of the game when there is a confirmed list of valid, ready players. Creates a 100% ready game that has NOT started (no players in bodies) Followed by start game
Does the following:
- Picks map, and loads it
- Grabs landmarks if it is the first time it's loading
- Sets up the role list
- Puts players in each role randomly Arguments:
- setup_list: list of all the datum setups (fancy list of roles) that would work for the game
- ready_players: list of filtered, sane players (so not playing or disconnected) for the game to put into roles