Template:I PlayerCompanion

From Valve Developer Community
Revision as of 20:38, 27 September 2018 by Avanate (talk | contribs) ("Clears" will work too.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.