Ai changetarget: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (lang)  | 
				 (→Inputs:  |prel4d=1)  | 
				||
| Line 11: | Line 11: | ||
==Inputs==  | ==Inputs==  | ||
{{IO|Activate|Trigger the target change.}}  | {{IO|Activate|Trigger the target change.}}  | ||
{{I BaseEntity|base=1}}  | {{I BaseEntity|base=1|prel4d=1}}  | ||
==Outputs==  | ==Outputs==  | ||
Revision as of 13:43, 7 September 2018
Template:Hl2 point It's main use is for changing the target keyvalue of NPCs. It can be used for changing any entity however. The function can also be done using AddOutput.
Keyvalues
- Target (target) ([todo internal name (i)]) <targetname>
 - Entity(s) that should have 
targetchanged. 
- NewTarget (m_iszNewTarget) ([todo internal name (i)]) <targetname>
 - New 
targetnamefor the targeted entity(s) to target. 
Inputs
- Activate
 - Trigger the target change.