Entities

Entities are used in to specify player spawn locations or to add effects, doors, items and more to a map.

Category: all (50)

ID 93 - Trigger_Use (Use)

Info

Triggeres entities when it is used with the use key (E by default).

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]=button style (see editor list)
  • ints[1]=button alignment/direction (0=top, 1=bottom, 2=left, 3=right)
  • ints[2]=triggered by (0=everyone, 1=terrorists only, 2=counter-terrorists only)
  • ints[3]=re-use delay (ms)