Template:KV BaseNPCMaker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(keyvals like this should be added individually for less template nesting)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''MaxNPCCount'''
{{minititle|BaseNPCMaker}}
: <integer> Number of NPCs that will spawn before this spawner is exhausted.
{{KV|Num. of NPCs|intn=MaxNPCCount|integer|Number of NPCs that will spawn before this spawner is exhausted.}}
 
{{KV|Frequency|intn=SpawnFrequency|string|How often (in seconds) a new NPC will be spawned. If set to -1, a new NPC will be made when the last NPC dies.}}
* '''SpawnFrequency'''
{{KV|Max Live NPCs|intn=MaxLiveChildren|integer|Maximum number of live children allowed at any one time (new ones will not be made until one dies). If set to -1, no limit is applied.}}
: <string> How often (in seconds) a new NPC will be spawned. If set to -1, a new NPC will be made when the last NPC dies.
<noinclude>
 
[[Category:Keyvalue Templates|BaseNPCMaker]]
* '''MaxLiveChildren'''
</noinclude>
: <integer> Maximum number of live children allowed at any one time (new ones will not be made until one dies). If set to -1, no limit is applied.

Latest revision as of 08:59, 13 September 2024

BaseNPCMaker:

Num. of NPCs (MaxNPCCount) <integer>
Number of NPCs that will spawn before this spawner is exhausted.
Frequency (SpawnFrequency) <string>
How often (in seconds) a new NPC will be spawned. If set to -1, a new NPC will be made when the last NPC dies.
Max Live NPCs (MaxLiveChildren) <integer>
Maximum number of live children allowed at any one time (new ones will not be made until one dies). If set to -1, no limit is applied.