Template:I PlayerCompanion: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
mNo edit summary  | 
				mNo edit summary  | 
				||
| (11 intermediate revisions by 8 users not shown) | |||
| Line 1: | Line 1: | ||
<onlyinclude>{{minititle|PlayerCompanion}}  | |||
{{I|OutsideTransition|Use this input to teleport the NPC to a [[hint node]] with the "Player Squad Transition Point" hint type.|since={{hl2ep1}}}}  | |||
{{I|EnableAlwaysTransition|since={{hl2ep1}}}}  | |||
{{I|DisableAlwaysTransition|If enabled, this NPC will always teleport to a Player Squad Transition Point even if they're not within the {{ent|trigger_transition}}.|since={{hl2ep1}}}}  | |||
{{I|MakeGameEndAlly|since={{hl2ep1}}}}  | |||
{{I|MakeRegularAlly|Determines whether the game should end if this character dies.|since={{hl2ep1}}}}  | |||
{{I|EnableWeaponPickup|since={{hl2ep1}}}}  | |||
{{I|DisableWeaponPickup|Enables/disables weapon pickup.|since={{hl2ep1}}}}  | |||
{{I|GiveWeapon|param=classname|Gives the NPC a weapon immediately.|since={{hl2ep1}}}}  | |||
{{I|ClearAllOutputs|Clears every output that this NPC has.|only={{hl2episodes}}}}</onlyinclude>  | |||
{{I|EnableSpeakWhileScripting|Allow this NPC to speak [[Response System|responses]] while in a [[Scripted_sequence|scripted sequence]] or while StartScripting is active.|since={{hl2ep2}}}}  | |||
{{I|DisableSpeakWhileScripting|Cancels this NPC's ability to speak responses while in a scripted sequence or while StartScripting is active if it was previously enabled by EnableSpeakWhileScripting.|since={{hl2ep2}}}}  | |||
[[Category:Input Templates|PlayerCompanion]]  | |||
Latest revision as of 08:50, 3 October 2024
PlayerCompanion:
- OutsideTransition   (in all games since 
) - Use this input to teleport the NPC to a hint node with the "Player Squad Transition Point" hint type.
 
- EnableAlwaysTransition   (in all games since 
) 
- DisableAlwaysTransition   (in all games since 
) - If enabled, this NPC will always teleport to a Player Squad Transition Point even if they're not within the trigger_transition.
 
- MakeGameEndAlly   (in all games since 
) 
- MakeRegularAlly   (in all games since 
) - Determines whether the game should end if this character dies.
 
- EnableWeaponPickup   (in all games since 
) 
- DisableWeaponPickup   (in all games since 
) - Enables/disables weapon pickup.
 
- EnableSpeakWhileScripting   (in all games since 
) - Allow this NPC to speak responses while in a scripted sequence or while StartScripting is active.
 
- DisableSpeakWhileScripting   (in all games since 
) - Cancels this NPC's ability to speak responses while in a scripted sequence or while StartScripting is active if it was previously enabled by EnableSpeakWhileScripting.