game_team_master

Modified

12-Jul-2023

Originally created by Valve, doesn't work in Sven Co-op, where there is only one team. You can still make teams by using trigger_changevalue and change !activator's "classify" key.

Keyvalues


OnDestroy Function ondestroyfn : Name of the function to use from already parsed .as script files when entity is destroyed (killed) in any way. If the function belongs to namespace, you must use prefix with the namespace name (e.g. mynamespace::MyFunction) for the keyvalue.

Name targetname : Set name of game_team_master so other entities can trigger it.

Target target : Name of entity to trigger (fire). Which function relates to it depends on the respective entity. Most will just trigger their target, while others will perform actions on their target or use it as a reference for other activities. Often, multiple entities by the same name may be targeted. Most entities need no target, but having one is essential for most logic entities and basic trigger-systems.

Delay Before Trigger delay : Delay before trigger entity specified in "Target".

Kill Target killtarget : Same as target, except that this supposedly causes the specified entity/entities to be removed from the game. Not all entities which have a target to trigger will also handle killtarget. You may want to use a trigger_relay to make sure it is working.

Trigger State triggerstate :

  • 0 : Off
  • 1 : On
  • 2 : Toggle

Team Index (-1 = no team) teamindex :

Master master :

Flags


  • 1 : Remove On fire