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

comp_entity_mover

From Valve Developer Community
Jump to: navigation, search

comp_entity_mover
Comp entity mover.png
TypeInternal Point entity
EngineSource Source
AvailabilityTeamSpen's Hammer Addons TeamSpen's Hammer Addons
 

comp_entity_mover is a internal point entity available in Portal 2: Community Edition Portal 2: Community Edition.

English (en)
Edit

It is also available in all games with TeamSpen's Hammer Addons TeamSpen's Hammer Addons installed. It shifts entities by a given amount at compile-time. It can be useful to place entities into the void.

KeyValues

Target Entity <targetname>
The name of the entity or entities to move.
Reference Entity <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 <angle>
If no Reference is provided, the direction to move in.
Distance <float>
The amount to move targets by.

See also