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

Comp entity mover: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(badly moved multipage)
Line 1: Line 1:
{{LanguageBar}}
{{P2CE topicon}}
{{P2CE topicon}}
{{infotable
{{infotable
Line 8: Line 9:
}}
}}
{{this is a|point entity|internal=1|name=comp_entity_mover|game=Portal 2: Community Edition}}  
{{this is a|point entity|internal=1|name=comp_entity_mover|game=Portal 2: Community Edition}}  
{{Multipage}}
 
It is also available in all games with {{Teamspen|4}} installed. It shifts entities by a given amount at compile-time. It can be useful to place entities into the void.
 
==KeyValues==
{{KV|Target Entity|target_destination|The name of the entity or entities to move.}}
{{KV|Reference Entity|target_destination|If set, the target will be offset by the amount that this entity is from the reference. The Distance will then be a multiplier.}}
{{KV|Direction|angle|If no Reference is provided, the direction to move in.}}
{{KV|Distance|float|The amount to move targets by.}}
 
==See also==
* [[TeamSpen's Hammer Addons]]

Revision as of 16:47, 12 July 2024

English (en)Translate (Translate)

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

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

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 ([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