Info beacon

From Valve Developer Community
Jump to: navigation, search

Entity Description

An entity to show a hint at its position in Zombie Panic! Source. Will be shown at all times when on, even through walls.


Name <string>
The targetname other entities refer to this entity by.
StartOn <boolean>
Should it start on and be visible.
The type to display.
Literal Value Description
0 Button
1 Human Defend
2 Human Destroy
3 Waypoint
4 Capture Point
Primary <boolean>
Is the beacon primary or is the info_beacon showing something with high priority, for example a main objective. The icon will be different compared to a non-primary info_beacon.
Show health <boolean>
Should it show the health? Starts with 100% health.
Custom Zombie Label <string>
Label shown to zombies. Displayed under the beacon. Leave empty to use default label.
Custom Survivor Label <string>
Label shown to survivors. Displayed under the beacon. Leave empty to use default label.



OnUser1 to OnUser4
Fired in response to the FireUser inputs; see User Inputs and Outputs.
TurnOn / TurnOff
Turns the beacons visibility on and off
ShowHealth <boolean>
Set the boolean if the beacon should show health
SetHealthRatio <float>
Set the health ratio to show. Between 0 and 1.0 where 1.0 is max health. Example use: func_breakable fires an output of OnHealthChanged send to this info_beacon with the input SetHealthRatio and the health will bar will change on the beacon.
Set the beacon to be primary.
Set the beacon to be non-primary.
AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
FireUser1 to FireUser4
Fire the OnUser outputs.
Removes this entity from the world.
Removes this entity and all its children from the world.

See Also