Template:KV PlayerCompanion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added to Keyvalue Templates category)
mNo edit summary
Line 1: Line 1:
{{ScrollBox|title=PlayerCompanion|
{{ScrollBox|title=PlayerCompanion|
; {{EP1 add|Always transition <code><[[bool]]></code>}}
; {{EP1 add|Always transition (AlwaysTransition)<code><[[bool]]></code>}}
: This NPC will always teleport to a Player Squad Transition Point if they're not within the [[trigger_transition]].
: This NPC will always teleport to a Player Squad Transition Point if they're not within the [[trigger_transition]].
; {{EP1 add|Prevent picking up weapons? <code><bool></code>}}
; {{EP1 add|Prevent picking up weapons? (DontPickupWeapons) <code><bool></code>}}
: This NPC will NOT be allowed to pick up weapons they find on the ground.
: This NPC will NOT be allowed to pick up weapons they find on the ground.
; {{EP1 add|Is this a vital ally? <code><bool></code>}}
; {{EP1 add|Is this a vital ally? (GameEndAlly) <code><bool></code>}}
: This NPC will cause the game to end if killed.
: This NPC will cause the game to end if killed.
}}<noinclude>[[Category:Keyvalue Templates|PlayerCompanion]]</noinclude>
}}<noinclude>[[Category:Keyvalue Templates|PlayerCompanion]]</noinclude>

Revision as of 09:44, 21 April 2022

PlayerCompanion:
Always transition (AlwaysTransition)<bool> (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) <bool> (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) <bool> (in all games since Half-Life 2: Episode One)
This NPC will cause the game to end if killed.