Squirrel/Server/Functions/SpawnClass/Team

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(New page: __NOTOC__ This ''SpawnClass'' class member returns or sets the team ID for the given spawn class. If you want to use deathmatch teams set the team ID to INVALID_TEAM_ID (255). == Syntax =...)

Revision as of 03:26, 14 December 2009

This SpawnClass class member returns or sets the team ID for the given spawn class. If you want to use deathmatch teams set the team ID to INVALID_TEAM_ID (255).

Syntax

You can either return or set a new value using this member:

  1. int SpawnClass.Team
  1. SpawnClass.Team = int team

Arguments

  • team - The new team ID for the spawn class

Example 1. Returning

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
  1.  
  2. -- todo
  3.  

Notes

-- Example notes/used functions here

Example 2. Setting

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
  1.  
  2. -- todo
  3.  

Notes

-- Example notes/used functions here

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox