Entities
Entities can be used in the map editor to specify player spawn locations or to add effects, doors, items and more.
- Info entities are commonly used to specify certain locations/areas or behaviors
- Env entities are used for environmental stuff which is commonly directly perceptible
- Gen entities commonly generate stuff (particle effects)
- Func entities have a function which influences the game
- Trigger entities are used to trigger and control other entities
Category: info (21)
20 - Info_TeamGate (TGate)
Info
Defines an area which kills members of a certain team when they try to pass. The area starts at the position of the entity. Some exceptions can also be defined with the settings.
Values / Properties
The following values can be set in the entity properties menu of the map editor and can be read using the Lua command entity.
- ints[0]=area width (tiles)
- ints[1]=area height (tiles)
- ints[2]=team to let pass (0=nobody, 1=terrorists, 2=counter-terrorists)
- ints[3]=don't kill flag carrier (0/1)
- ints[4]=don't kill bomb carrier (0/1)
- ints[5]=don't kill defuse kit carrier (0/1)
- ints[6]=don't kill VIP (0/1)
- ints[7]=don't kill gas mask wearer (0/1)
- ints[8]=don't kill night vision wearer (0/1)