User Tools

Site Tools


scripting:reference:system_functions:subgamefunctions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:reference:system_functions:subgamefunctions [2020/02/02 21:23] – [Messaging and alerts] mitscripting:reference:system_functions:subgamefunctions [2023/04/15 11:43] (current) – [SubgameJoin] mit
Line 7: Line 7:
  
 ==== SubgameJoin ==== ==== SubgameJoin ====
 +SubgameJoin( SubgameID, PlayerID)
 +
 ==== SubgameLeave ==== ==== SubgameLeave ====
 ==== SubgameReset ==== ==== SubgameReset ====
Line 29: Line 31:
 ==== SubgameActivateScoreboard ==== ==== SubgameActivateScoreboard ====
 ==== SubgameActivatePlayerListScores ==== ==== SubgameActivatePlayerListScores ====
 +^ Format | SubgameActivatePlayerListScores ( Subgame_Num, Mode )|
 +^ Description | Activates the Player List Scores display for the participants of the subgame. Use commands *setplayerlistscore and *incplayerlistscore to update the player score and then functions like **SubgameGetHighestPlayerListScore** can be used to determine the subgame winners |
 +^ Parameters | Subgame number \\ Mode |
 +^ Example | TBD |
  
-=== Subgame Stats & Scores ===+===== Subgame Stats & Scores =====
 'Stats' are generic values that can be used to track whatever you want - maybe number of kills, items collected, whatever. 'Scores' are usually associated with a team and can be displayed on the players' screens (See SubgameActivateScoreboard above). 'Stats' are generic values that can be used to track whatever you want - maybe number of kills, items collected, whatever. 'Scores' are usually associated with a team and can be displayed on the players' screens (See SubgameActivateScoreboard above).
  
 ==== SubgameGetStat==== ==== SubgameGetStat====
-^ Format | SubgameGetStat( [Subgame_Num][Stat_Name )|+^ Format | SubgameGetStat( Subgame_Num, Stat_Name )|
 ^ Description | Gets the value of a named stat (variable) within a subgame | ^ Description | Gets the value of a named stat (variable) within a subgame |
 ^ Parameters | Subgame number \\ Stat name | ^ Parameters | Subgame number \\ Stat name |
Line 47: Line 53:
 ==== SubgameIncrementScore ==== ==== SubgameIncrementScore ====
  
-=== Subgame information ===+===== Subgame information =====
  
 These functions provide information about the general state of the subgame and the players in it. These functions provide information about the general state of the subgame and the players in it.
Line 58: Line 64:
 ==== SubgameGetTimerRemaining ==== ==== SubgameGetTimerRemaining ====
  
-=== Subgame conclusion information ===+===== Subgame conclusion information =====
 This set of functions allow you to calculate victory conditions, for instance, by calculating how many players reached a certain threshold or who got the highest score. This set of functions allow you to calculate victory conditions, for instance, by calculating how many players reached a certain threshold or who got the highest score.
  
scripting/reference/system_functions/subgamefunctions.1580700221.txt.gz · Last modified: 2020/02/02 21:23 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki