point_entity_replace is a point entity available with any version of Mapbase.

An entity that replaces.



KeyValues

- Entity to be replaced (Target) <target_destination>
The entity that should be replaced. This is optional if you're only using the 'ReplaceEntity' input.
- Replacement Entity (ReplacementEntity) <target_destination>
The entity that should serve as the replacement.
- Replacement Type (ReplacementType) <choices>
What IS the replacement entity?
- Replacement Location (ReplacementLocation) <choices>
Where should the replacement entit(ies) be teleported to?
- Remove original entity (RemoveOriginalEntity) <choices>
Removes the entity being replaced.
- Take Targetname (TakeTargetname) <choices>
Causes the replacement entity to take the target's name.
- Take Parent (TakeParent) <choices>
Causes the replacement entity to take the target's current parent as well as its children.
- Take Owner (TakeOwner) <choices>
Causes the replacement entity to take the target's owner.
- Take Model Stuff (TakeModelStuff) <choices>
Causes the replacement entity to take the target's model stuff, including render fields and animation data.
- Other Fields (OtherStuff) <string>
Specific variables that should transfer. Uses internal field names (e.g. ''m_bBoolean''), not keyvalues. This is really delicate, so be careful.
- Fire outputs with original entity as caller (TargetIsCaller) <choices>
If enabled, OnReplace will fire with the original entity as the caller instead of this.

Inputs

- Replace <void>
Replaces the target entity with the replacement entity.
- ReplaceEntity <target_destination>
Replaces the specified entity with the replacement entity.
- SetReplacementEntity <target_destination>
Sets the entity to replace the target.

Outputs

- OnReplace <ehandle>
Fires for each replacement we undergo, passing the replacement entity as the activator and parameter. The caller can be the replaced entity or this entity depending on this entity's settings.