ai_changetarget

Description

An entity that changes another entity's "target" keyvalue when it receives the Activate input. For instance, you can change a trigger_teleport's "Remote Destination," because that is the teleport's "target" keyvalue.

This entity is used in the Teleporter with Random Destination tutorial

Properties
- Name targetname(target_source) - The name of this entity. Allows other entities in the map to reference this one, as for inputs or parenting.

- Target entity target(target_destination) - The entity whose "target" keyvalue will be changed.

- New Target m_iszNewTarget(string) - The new value for the target's "target" keyvalue.
Flags
This entity has no flags.
Inputs
- Kill - Completely removes this entity.

- KillHierarchy - Completely removes this entity and any of its children in the parenting hierarchy.

- AddOutput - Adds a new output to this entity. Let the parameter override be of the format NewOutput Target:Input:Parameter:Delay:TimesToFire.

- FireUser1 - Causes this entity to fire its OnUser1 output.

- FireUser2 - Causes this entity to fire its OnUser2 output.

- FireUser3 - Causes this entity to fire its OnUser3 output.

- FireUser4 - Causes this entity to fire its OnUser4 output.

- Activate - Cause this entity to change its target's target key.
Outputs
- OnUser1 - Fired only when this entity receives a FireUser1 input.

- OnUser2 - Fired only when this entity receives a FireUser2 input.

- OnUser3 - Fired only when this entity receives a FireUser3 input.

- OnUser4 - Fired only when this entity receives a FireUser4 input.
Post A Comment
Name:
Email: UBB Code is Allowed
Comment:
All original content ©2006 EditLife.net. All Rights reserved. All files property of their rightful owners.
Get Firefox! Get Thunderbird! Get Notepad++!