Template:I PlayerCompanion

From Valve Developer Community
Revision as of 12:53, 19 July 2009 by TomEdwards (talk | contribs)
Jump to navigation Jump to search
PlayerCompanion:
OutsideTransition (in all games since Half-Life 2: Episode One)
Use this input to teleport the NPC to a hint node with the "Player Squad Transition Point" hint type
EnableAlwaysTransition (in all games since Half-Life 2: Episode One)
DisableAlwaysTransition (in all games since Half-Life 2: Episode One)
This NPC will (or will not) always teleport to a Player Squad Transition Point even if they're not within the trigger_transition
MakeGameEndAlly (in all games since Half-Life 2: Episode One)
MakeRegularAlly (in all games since Half-Life 2: Episode One)
Decide whether the game should end if this character dies
EnableWeaponPickup (in all games since Half-Life 2: Episode One)
DisableWeaponPickup (in all games since Half-Life 2: Episode One)
Enable/disable weapon pickup
GiveWeapon <classname> (in all games since Half-Life 2: Episode One)
Gives the NPC a weapon immediately