of_bot_spawner

of_bot_spawner
is a point entity available in Open Fortress. Spawn Bots
Keyvalues
- Name
(targetname)
<string> - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Bot Template 1
(BotTemplate1)
<string> - Template to use for spawning bots
- Bot Template 2
(BotTemplate2)
<string> - Template to use for spawning bots
- Bot Template 3
(BotTemplate3)
<string> - Template to use for spawning bots
- Bot Template 4
(BotTemplate4)
<string> - Template to use for spawning bots
- Bot Template 5
(BotTemplate5)
<string> - Template to use for spawning bots
- Default Template
(TemplateNum)
<integer> - Sets which template should be used.
- Randomize Templates
(RandomizeTemplates)
<boolean> - If true, randomizes which template should be used for each bot.
- Wave Size
(WaveSize)
<integer> - How many bots should spawn per wave.
- Wave Interval
(WaveIntervals)
<float> - How long it should take before a wave respawns, setting it to -1 spawns it only once.
- Spawn When Cleared
(SpawnWhenCleared)
<boolean> - If true, won't spawn the next wave untill the previous one is dead.
- Wave Preset
(WavePreset)
<string> - If set, it will use a wave preset to determine which bot template to use for how many bots.
- Target Entity Name
(Target)
<targetname> - If set, makes the bots target a specific point to go to.
- Spawn Point
(SpawnPoint)
<targetname> - If set, spawns the bots around a targeted entity, instead of around the bot spawner.
- Spawn Radius
(SpawnRadius)
<float> - Radius around which bots will spawn (units).
Inputs
- SpawnWave <void>
- Force spawn a wave, doesn't reset the wave interval
- ResetInterval <void>
- Resets the time to spawn a wave
- SetInterval <float>
- Sets the time it takes for waves to respawn
- SetTemplate <integer>
- Changes which template is used to spawn bots
- SetTarget <targetname>
- Changes the targeted entity
- KillAllBots <string>
- Kills all active bots
Outputs
- OnAllBotsKilled
- Fired when every bot is defeated.
- OnBotKilled
- Fired every time a bot dies.
- OnBotsSpawned
- Fired whenever a wave is spawned.