LuaAPI.wiki
changeset 638 9f17dc37a141
parent 637 8a18ff3d8024
child 645 f161ad0b976d
equal deleted inserted replaced
637:8a18ff3d8024 638:9f17dc37a141
   990 Arguments:
   990 Arguments:
   991 
   991 
   992  * `teamname`: The name of the team.
   992  * `teamname`: The name of the team.
   993  * `color`: The RGB color of the team as defined in [LuaAPI#Color]
   993  * `color`: The RGB color of the team as defined in [LuaAPI#Color]
   994  * `grave`: The name of the team’s grave (equals file name without the suffix)
   994  * `grave`: The name of the team’s grave (equals file name without the suffix)
   995  * `fort`: The name of the team’s fort
   995  * `fort`: The name of the team’s fort (equals file name without the suffix and without the letter “L” or “R” before that suffix)
   996  * `voicepack`: The name of the team’s voice pack (equals the directory name)
   996  * `voicepack`: The name of the team’s voice pack (equals the directory name)
   997  * `flag`: Optional argument for the name of the team’s flag (equals file name without the suffix)
   997  * `flag`: Optional argument for the name of the team’s flag (equals file name without the suffix). If set to `nil`, the flag “hedgewars” is used.
   998 
   998 
   999 *Note*: This works only for singleplayer training missions for now and will desync multiplayer games.
   999 *Note*: This works only for singleplayer training missions for now and will desync multiplayer games.
  1000 
  1000 
  1001 Example:
  1001 Example:
  1002 
  1002