Logic mirror movement: Difference between revisions
Jump to navigation
Jump to search
(Updated this horrendously out of date page) |
No edit summary |
||
Line 3: | Line 3: | ||
{{bug|Valve forgot to add the server/logic_mirror_movement.cpp file to the [[VPC]]! Hence it is unavailable in every game, unless you add this .cpp file in your own mod's [[VPC]]. There is also no [[FGD]] definition available, one is written below instead.}} | {{bug|Valve forgot to add the server/logic_mirror_movement.cpp file to the [[VPC]]! Hence it is unavailable in every game, unless you add this .cpp file in your own mod's [[VPC]]. There is also no [[FGD]] definition available, one is written below instead.}} | ||
===FGD Code=== | ===FGD Code=== | ||
<pre>@PointClass base(Targetname, Parentname = logic_mirror_movement : | <pre>@PointClass base(Targetname, Parentname) = logic_mirror_movement : | ||
"An entity that can mirror entity movement to another entity." | "An entity that can mirror entity movement to another entity." | ||
[ | [ |
Revision as of 04:16, 29 August 2019
logic_mirror_movement is a point entity available in SDK 2013 code.
FGD Code
@PointClass base(Targetname, Parentname) = logic_mirror_movement : "An entity that can mirror entity movement to another entity." [ m_target(target_destination) : "Target entity" : : "Target entity." m_strMirrorTarget(target_destination) : "Mirror Target entity" : : "Mirror target entity." m_strRemoteTarget(target_destination) : "Remote Target entity" : : "Remote target entity." m_strMirrorRelative(target_destination) : "Mirror Relative entity" : : "Mirror relative entity." input SetMirrorTarget(string) : "Set the Mirror Target entity." input SetTarget(string) : "Set the Target entity." input SetRemoteTarget(string) : "Set the Remove Target entity." input SetMirrorRelative(string) : "Set the Mirror Relative entity." ]
Entity Description
Mirror entity movement to another entity.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Target
- <target_destination> Target
- MirrorTarget
- <target_destination> Mirror target entity
- RemoteTarget
- <target_destination> Remote target entity
- MirrorRelative
- <target_destination> Mirror relative entity
Inputs
- SetMirrorTarget <target_destination>
- Set MirrorTarget
- SetTarget <target_destination>
- Set Target
- SetRemoteTarget <target_destination>
- Set RemoteTarget
- SetMirrorRelative <target_destination>
- Set MirrorRelative