Comp entity mover: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{point ent|comp_entity_mover|game=TeamSpen's Hammer Addons|internal=1}} It is also available in {{P2CE}}Portal 2: Community Edition. It shifts entities by a given amount...")
 
mNo edit summary
Line 1: Line 1:
{{point ent|comp_entity_mover|game=TeamSpen's Hammer Addons|internal=1}} It is also available in {{P2CE}}[[Portal 2: Community Edition]]. It shifts entities by a given amount at compile-time. It can be useful to place entities into the void.
{{point ent|comp_entity_mover|game=TeamSpen's Hammer Addons|internal=1}} It is also available in {{P2CE|4}}. It shifts entities by a given amount at compile-time. It can be useful to place entities into the void.


==KeyValues==
==KeyValues==

Revision as of 13:17, 16 August 2022

Template:Point ent It is also available in Portal 2: Community Edition Portal 2: Community Edition. It shifts entities by a given amount at compile-time. It can be useful to place entities into the void.

KeyValues

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