Synergy Documentation
Documentation: Custom Entities
Entity list
- trigger_coop
- Use this entity for a variety of things, like making triggers require all players to be touching.
This entity also may control the HUD Teamwork element.
- game_zone_player
- An entity used to count the number of players within a zone.
- hud_timer
- This entity allows you to create a visual counter on the players HUD.
Inside the Object Properties of the entity, you can specify a "Timer Text" message that is shown above the countdown.
You can start the timer by firing the "Start" input, after specifying the amount of seconds the timer will last in the Parameter.
- info_spawn_manager
- A useful entity for teleporting players together in specific locations, aswell as updating player spawn locations.
- info_player_coop
- This entity decides where the players will spawn.
- info_player_equip
- With this entity you can decide what weapons, items and ammo the players will spawn with.
Procedural Entity Names
- !player
- Get the first player the game can find.
- !pvsplayer
- Get the first player the searching npc can find in his PVS
- !activator
- Get the entity activating the entity (eg: if a player steps into a trigger, the player will be the !activator entity for that trigger)
- !caller
- Get the entity that called the current entity (eg: a button that called a function in a logic_relay, then the !caller for the logic relay will be the button)
- !self
- Get the entity itself.
- !rndplayer
- Get a random living player
