User Tools

Site Tools


scripting:reference:system_functions:miscfunctions

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:miscfunctions [2020/01/29 06:53] mitscripting:reference:system_functions:miscfunctions [2023/04/15 09:04] (current) – [sysGetNumStaticFlags] mit
Line 4: Line 4:
  
 ==== sysRealTime ==== ==== sysRealTime ====
-^ Format | sysRealTime ( [Type)|+^ Format | sysRealTime ( Type )|
 ^ Description | Returns details of the current real time (according to the server clock)| ^ Description | Returns details of the current real time (according to the server clock)|
-^ Parameters | Type field specifying the date or time to fetch | 
 ^ Returns | Depending on the type field: | ^ Returns | Depending on the type field: |
 ^  | **Year** - returns the current year (e.g. 2014) | ^  | **Year** - returns the current year (e.g. 2014) |
Line 36: Line 35:
  
 ==== sysRaceIsActive ==== ==== sysRaceIsActive ====
-TBD \\+^ Format | sysRaceIsActive ( Course_Num )| 
 +^ Description | Returns 1 if the specified race number is currently active ; this can include being in a pre-race setup stage or post-race results screen| 
 +^Returns | 1 or 0 |
 \\ \\
  
-==== sysGetCrowFlagState ==== +==== sysGetStaticFlagState ==== 
-TBD \\+''**sysGetStaticFlagState( flagNum )**'' - Static flag state is usually either 0 (no team owns it) or the team number that last touched the flag. (FIXMENot sure if the game copes with teams other than 1 & 2 playing with crow flags?\\
 \\ \\
  
 +==== sysSetStaticFlagState ====
 +''**sysSetStaticFlagState( FlagNum, State )**'' sets the specified flag to be owned by a particular team (if State >= 1 ) or un-owned if State is 0\\
 +\\
 +
 +==== sysGetNumStaticFlags ====
 +''**sysGetNumStaticFlags( State )**'' returns the number of static flags that are in the specified state.\\
 +\\
 +
 +==== sysGetTotalNumStaticFlags ====
 +''**sysGetTotalNumStaticFlags () **'' returns the total number of static flags on the map\\
 +\\
  
 ===== Battle game Functions ===== ===== Battle game Functions =====
scripting/reference/system_functions/miscfunctions.1580302398.txt.gz · Last modified: 2020/01/29 06:53 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