Template:KV PlayerCompanion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(updated template usage.)
 
Line 1: Line 1:
{{ScrollBox|title=PlayerCompanion|
{{lang|{{FULLPAGENAME}}}}
; {{EP1 add|Always transition (AlwaysTransition)<code><[[bool]]></code>}}
<onlyinclude>{{minititle|PlayerCompanion}}
: This NPC will always teleport to a Player Squad Transition Point if they're not within the [[trigger_transition]].
{{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}}}}
; {{EP1 add|Prevent picking up weapons? (DontPickupWeapons) <code><bool></code>}}
{{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}}}}
: 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>
; {{EP1 add|Is this a vital ally? (GameEndAlly) <code><bool></code>}}
[[Category:Keyvalue Templates|PlayerCompanion]]
: This NPC will cause the game to end if killed.
}}<noinclude>[[Category:Keyvalue Templates|PlayerCompanion]]</noinclude>

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.