Ai changetarget: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Note:This entity functions as a target changer for any entity and not just NPCs.
Note:This entity functions as a target changer for any entity and not just NPCs.
		
	
| m (link) | m (minoro) | ||
| Line 1: | Line 1: | ||
| {{wrongtitle|title=ai_changetarget}} | {{wrongtitle|title=ai_changetarget}} | ||
| ==Entity  | == Entity description == | ||
| Changes the target of an [[entity]]. | Changes the target of an [[entity]]. | ||
| {{note|This entity functions as a target changer for any entity | {{note|This entity functions as a target changer for any entity and not just [[NPC]]s.}} | ||
| ==Keyvalues== | |||
| == Keyvalues == | |||
| * {{kv targetname}} | * {{kv targetname}} | ||
| * '''target''' | * '''target''' | ||
| Line 12: | Line 13: | ||
| : <target_destination> New target's targetname | : <target_destination> New target's targetname | ||
| ==Inputs== | == Inputs == | ||
| * {{i targetname}} | * {{i targetname}} | ||
| * '''Activate''' | * '''Activate''' | ||
| : Trigger the target change | : Trigger the target change | ||
| ==Outputs== | |||
| == Outputs == | |||
| * {{o targetname}} | * {{o targetname}} | ||
| [[Category:AI]] | [[Category:AI]] | ||
| [[Category:Entities]] | [[Category:Entities]] | ||
Revision as of 13:03, 26 November 2007
Entity description
Changes the target of an entity.
 Note:This entity functions as a target changer for any entity and not just NPCs.
Note:This entity functions as a target changer for any entity and not just NPCs.Keyvalues
- Template:Kv targetname
- target
- <target_destination> Entity to change the target for
- m_iszNewTarget
- <target_destination> New target's targetname
Inputs
- Template:I targetname
- Activate
- Trigger the target change