Ai goal operator: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary | m (Robot: fixing template case.) | ||
| Line 33: | Line 33: | ||
| ==Inputs== | ==Inputs== | ||
| * {{i targetname}} | * {{i targetname}} | ||
| * {{ | * {{I EnableDisable}} | ||
| * '''Activate''' | * '''Activate''' | ||
| : Begin operating on the object | : Begin operating on the object | ||
Revision as of 19:28, 19 January 2009
Entity Description
Indicates items in the world that some NPCs may operate upon
Keyvalues
- <target_name_or_class> NPC that should perform this operation
- target
- <target_destination> Name of the entity that the NPC should move to in order to perform the operation.
- contexttarget
- <target_destination> (Optional) Name of an entity that the operator will use within context.
- state
- <choices> Initial State
- Literal Value - Description - 0 - Not ready (closed, locked, etc) - 1 - Ready (open and accessible) 
- moveto
- <choices> How should NPC approach?
- Literal Value - Description - 0 - DO NOT USE 0 - 1 - Walk - 2 - Run 
Inputs
- Template:I targetname
- EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- Activate
- Begin operating on the object
- SetStateReady
- Set the object's state to READY. Fire this input when the object has been unlocked/opened or otherwise made ready for interaction.
- SetStateFinished
- Fire this input when the NPC has completed the interaction with this object.
Outputs
- Template:O targetname
- OnBeginApproach
- Fired when the NPC begins to approach the position
- OnMakeReady
- Make the item ready to operate
- OnBeginOperating
- Fired when the NPC is ready to operate
- OnFinished
- The item is done