Template:KV PlayerCompanion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(updated template usage.)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{kv basenpc}}
{{lang|{{FULLPAGENAME}}}}
* '''AlwaysTransition'''
<onlyinclude>{{minititle|PlayerCompanion}}
: {{boolean}} If yes, this NPC will always teleport to a Player Squad Transition Point if they're not within the trigger_transition volume.
{{KV|Always transition|intn=AlwaysTransition|bool|This NPC will always teleport to a Player Squad Transition Point if they're not within the {{ent|trigger_transition}}.|since={{hl2ep1}}}}
* '''DontPickupWeapons'''
{{KV|Prevent picking up weapons?|intn=DontPickupWeapons|bool|This NPC will NOT be allowed to pick up weapons they find on the ground.|since={{hl2ep1}}}}
: {{boolean}} If yes, this NPC will NOT be allowed to pick up weapons they find on the ground.
{{KV|Is this a vital ally?|intn=GameEndAlly|bool|This NPC will cause the game to end if killed.|since={{hl2ep1}}}}</onlyinclude>
* '''GameEndAlly'''
[[Category:Keyvalue Templates|PlayerCompanion]]
: {{boolean}} If yes, this NPC will cause the game to end if killed.

Latest revision as of 15:21, 20 October 2022

PlayerCompanion:

Always transition (AlwaysTransition) <boolean> (in all games since Half-Life 2: Episode One)
This NPC will always teleport to a Player Squad Transition Point if they're not within the trigger_transition.
Prevent picking up weapons? (DontPickupWeapons) <boolean> (in all games since Half-Life 2: Episode One)
This NPC will NOT be allowed to pick up weapons they find on the ground.
Is this a vital ally? (GameEndAlly) <boolean> (in all games since Half-Life 2: Episode One)
This NPC will cause the game to end if killed.