Difference between revisions of "Template:I PlayerCompanion"

From Valve Developer Community
Jump to: navigation, search
(Revision + New input)
m ("Clears" will work too.)
 
Line 14: Line 14:
 
: Gives the NPC a weapon immediately
 
: Gives the NPC a weapon immediately
 
; {{episodic add|<code>ClearAllOutputs</code>}}
 
; {{episodic add|<code>ClearAllOutputs</code>}}
: Obliterates every output that this NPC has.
+
: Clears every output that this NPC has.
 
}}
 
}}

Latest revision as of 20:38, 27 September 2018

PlayerCompanion:

OutsideTransition (New with Half-Life 2: Episode One / Source 2006)
Use this input to teleport the NPC to a hint node with the "Player Squad Transition Point" hint type
EnableAlwaysTransition (New with Half-Life 2: Episode One / Source 2006)
DisableAlwaysTransition (New with Half-Life 2: Episode One / Source 2006)
If enabled, this NPC will always teleport to a Player Squad Transition Point even if they're not within the trigger_transition
MakeGameEndAlly (New with Half-Life 2: Episode One / Source 2006)
MakeRegularAlly (New with Half-Life 2: Episode One / Source 2006)
Determines whether the game should end if this character dies.
EnableWeaponPickup (New with Half-Life 2: Episode One / Source 2006)
DisableWeaponPickup (New with Half-Life 2: Episode One / Source 2006)
Enables/disables weapon pickup.
GiveWeapon <classname> (New with Half-Life 2: Episode One / Source 2006)
Gives the NPC a weapon immediately
ClearAllOutputs (Episodic Only)
Clears every output that this NPC has.