game_counter
Last edited 5 years ago2019-05-13 07:51:04 UTC
- Wiki
- View Page
-
You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date.
Click here to see the current revision of this page.
The game_counter entity keeps an internal value of how many times it has been triggered, and when it reaches a specified value, it will trigger another
entity.
Attributes
- Target (target) - When the game_counter's value reaches its limit, it will trigger the entity specified in Target.
- Delay before trigger (delay) - Seemingly unused.
- KillTarget (killtarget) - Seemingly unused.
- Name (targetname) - Name is a general attribute used to identify entities.
- Master (master) - Sets an entity to be used as a master (usually a multisource). The master entity must be active in order for the game_counter's value to increment.
- Initial Value (frags) - Sets the value that the game_counter should start at.
- Limit Value (health) - Sets the value that the game_counter must reach before triggering its Target.
Flags
- Remove On fire (1) - If enabled, the game_counter will be removed once it has triggered its Target.
- Reset On fire (2) - If enabled, once the game_counter has triggered its Target, it will reset its value back to the Initial Value. This will allow it to be used repeatedly, and will trigger its Target each time it reaches the Limit Value.
Notes
- The game_counter_set entity will allow you to set the game_counter's value to a specific value at will.
Comments
You must log in to post a comment.
You can login or register a new account.