Nuclide
Software Development Kit for id Tech
game_counter_set.qc File Reference

Classes

class  game_counter_set
 

Variables

 enumflags
 

Variable Documentation

◆ enumflags

enumflags
Initial value:
{
GMCNTS_REMOVE,
}

QUAKED game_counter_set (0 .5 .8) (-8 -8 -8) (8 8 8) GMCNTS_REMOVE

OVERVIEW

When triggered, it'll change the internal counter of its target (a game_counter) to the specified value within.

KEYS

  • "targetname" : Name
  • "target" : Target when triggered.
  • "master" : Master entity (optional)
  • "frags" : New value of the target game_counter.

SPAWNFLAGS

  • GMCNT_REMOVE (1) : Remove permanently once it fired its target.

TRIVIA

This entity was introduced in Half-Life (1998).