game_player_team

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_player_team so other entities can trigger it.

game_team_master to use target :

Master master :

Flags


  • 1 : Remove On fire

  • 2 : Kill Player

  • 4 : Gib Player