Comp entity mover: Difference between revisions
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.) |
SirYodaJedi (talk | contribs) No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{LanguageBar}} | |||
{{P2CE topicon}} | {{P2CE topicon}} | ||
{{ | {{this is a|point entity|internal=1|sprite=1|name=comp_entity_mover|game=Strata Source|game1=TeamSpen's Hammer Addons}} | ||
|comp_entity_mover | |||
| | It shifts entities by a given amount at compile-time. It can be useful to place entities into the void. | ||
==KeyValues== | |||
{{KV Targetname null|vbsp only=1}} | |||
}} | {{KV|Target Entity|target_destination|The name of the entity or entities to move.}} | ||
{{this is a| | {{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]] |
Latest revision as of 12:56, 4 September 2024



comp_entity_mover
is an internal point entity available in Strata Source and
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. No effect in-game.
- 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.