Template:Fl BaseNPC: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Started using the new spawnflag template)
m (Reformatted spawnflags according to Template:Fl change)
Line 1: Line 1:
{{Fl|Wait Till Seen|bit=1}}
{{Fl|1|Wait Till Seen}}
{{Fl|Gag (No IDLE sounds until angry)|bit=2}}
{{Fl|2|Gag (No IDLE sounds until angry)}}
{{Fl|Fall to ground (unchecked means *teleport* to ground)|bit=4}}
{{Fl|4|Fall to ground (unchecked means *teleport* to ground)}}
{{Fl|Drop Healthkit|bit=8}}
{{Fl|8|Drop Healthkit}}
{{Fl|Efficient - Don't acquire enemies or avoid obstacles|bit=16}}
{{Fl|16|Efficient - Don't acquire enemies or avoid obstacles}}
{{Fl|Wait For Script|bit=128}}
{{Fl|128|Wait For Script}}
{{Fl|Long Visibility/Shoot|bit=256}}
{{Fl|256|Long Visibility/Shoot}}
{{Fl|Fade Corpse|bit=512}}
{{Fl|512|Fade Corpse}}
{{Fl|[[NPC Sensing|Think outside PVS]]|bit=1024}}
{{Fl|1024|[[NPC Sensing|Think outside PVS]]}}
{{Fl|Template NPC|Marks this NPC as a template for entities like {{ent|npc_template_maker}}. The NPC will not spawn on its own. This is not needed for {{ent|point_template}}.|bit=2048}}
{{Fl|2048|Template NPC|Marks this NPC as a template for entities like {{ent|npc_template_maker}}. The NPC will not spawn on its own. This is not needed for {{ent|point_template}}.}}
{{Fl|Do Alternate collision for this NPC (player avoidance)|{{note|This flag is disabled in episodic for player companions because the <code>StartScripting</code> input does this.}}|bit=4096}}
{{Fl|4096|Do Alternate collision for this NPC (player avoidance)|{{note|This flag is disabled in episodic for player companions because the <code>StartScripting</code> input does this.}}}}
{{Fl|Don't drop weapons|bit=8192}}
{{Fl|8192|Don't drop weapons}}
{{Fl|Ignore player push|Don't give way to player|since=EP1|bit=16384}}<noinclude>
{{Fl|16384|Ignore player push|Don't give way to player|since=EP1}}<noinclude>
[[Category:Flag Templates|BaseNPC]]
[[Category:Flag Templates|BaseNPC]]
</noinclude>
</noinclude>

Revision as of 18:28, 23 April 2020

Wait Till Seen : [1]
Gag (No IDLE sounds until angry) : [2]
Fall to ground (unchecked means *teleport* to ground) : [4]
Drop Healthkit : [8]
Efficient - Don't acquire enemies or avoid obstacles : [16]
Wait For Script : [128]
Long Visibility/Shoot : [256]
Fade Corpse : [512]
Think outside PVS : [1024]
Template NPC : [2048]
Marks this NPC as a template for entities like npc_template_maker. The NPC will not spawn on its own. This is not needed for point_template.
Do Alternate collision for this NPC (player avoidance) : [4096]
Note.pngNote:This flag is disabled in episodic for player companions because the StartScripting input does this.
Don't drop weapons : [8192]
Ignore player push : [16384] (in all games since Half-Life 2: Episode One)
Don't give way to player