This article relates to the game "Portal 2." Click here for more information.

comp_entity_mover

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

Comp entity mover.png

comp_entity_mover is an internal point entity available in Strata Source Strata Source and TeamSpen's Hammer Addons TeamSpen's Hammer Addons.

It shifts entities by a given amount at compile-time. It can be useful to place entities into the void.

KeyValues

Name (targetname) <string>
Name of this entity. Can be used by compile tools as a prop_static's lighting origin.
Also displayed in Hammer's 2D views and Entity Report.
Target Entity ([todo internal name (i)]) <targetname>
The name of the entity or entities to move.
Reference Entity ([todo internal name (i)]) <targetname>
If set, the target will be offset by the amount that this entity is from the reference. The Distance will then be a multiplier.
Direction ([todo internal name (i)]) <angle>
If no Reference is provided, the direction to move in.
Distance ([todo internal name (i)]) <float>
The amount to move targets by.

See also