Template:I PlayerCompanion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
No edit summary
Line 1: Line 1:
'''{{EP1 add|OutsideTransition}}'''
{{ScrollBox|title=PlayerCompanion|
: Use this input to teleport the NPC to a hintnode with the Player Squad Transition Point hint type.
; {{EP1 add|<code>OutsideTransition</code>}}
* '''{{EP1 add|EnableAlwaysTransition}}'''
: Use this input to teleport the NPC to a [[hint node]] with the "Player Squad Transition Point" hint type.
; {{EP1 add|<code>EnableAlwaysTransition</code>}}
: Enable the 'always transition' behavior
: Enable the 'always transition' behavior
* '''{{EP1 add|DisableAlwaysTransition}}'''
; {{EP1 add|<code>DisableAlwaysTransition</code>}}
: Disable the 'always transition' behavior
: Disable the 'always transition' behavior
* '''{{EP1 add|MakeGameEndAlly}}'''
; {{EP1 add|<code>MakeGameEndAlly</code>}}
: Make this NPC a game end ally.
: Make this NPC a game end ally.
* '''{{EP1 add|MakeRegularAlly}}'''
; {{EP1 add|<code>MakeRegularAlly</code>}}
: Make this NPC a regular ally.
: Make this NPC a regular ally.
* '''{{EP1 add|EnableWeaponPickup}}'''
; {{EP1 add|<code>EnableWeaponPickup</code>}}
: Enable Weapon Pickup
: Enable Weapon Pickup
* '''{{EP1 add|DisableWeaponPickup}}'''
; {{EP1 add|<code>DisableWeaponPickup</code>}}
: Disable Weapon Pickup
: Disable Weapon Pickup
* '''{{EP1 add|GiveWeapon <classname>}}'''
; {{EP1 add|<code>GiveWeapon <[[classname]]></code>}}
: Gives the NPC a weapon of the specified entity name.
: Gives the NPC a weapon of the specified entity name.
}}

Revision as of 12:48, 19 July 2009

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)
Enable the 'always transition' behavior
DisableAlwaysTransition (in all games since Half-Life 2: Episode One)
Disable the 'always transition' behavior
MakeGameEndAlly (in all games since Half-Life 2: Episode One)
Make this NPC a game end ally.
MakeRegularAlly (in all games since Half-Life 2: Episode One)
Make this NPC a regular ally.
EnableWeaponPickup (in all games since Half-Life 2: Episode One)
Enable Weapon Pickup
DisableWeaponPickup (in all games since Half-Life 2: Episode One)
Disable Weapon Pickup
GiveWeapon <classname> (in all games since Half-Life 2: Episode One)
Gives the NPC a weapon of the specified entity name.