Logic mirror movement

From Valve Developer Community
Revision as of 19:53, 23 February 2023 by Equalizer5118 (talk | contribs)
Jump to navigation Jump to search

Template:Base point multi It is also available on the code of the Source 2013 SDK, however it does not function by default. It mirrors an entity's movement to another entity.

Template:ModernBug

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 SetTarget(string) : "Set the Target Entity."
	input SetMirrorTarget(string) : "Set the Mirror Target Entity."
	input SetRemoteTarget(string) : "Set the Remote Target Entity."
	input SetMirrorRelative(string) : "Set the Mirror Relative Entity."
]

Keyvalues

Target Entity (m_target) <targetname>
Todo: Add proper description
Mirror Target Entity (m_strMirrorTarget) <targetname>
Todo: Add proper description
Remote Target Entity (m_strRemoteTarget) <targetname>
Todo: Add proper description
Mirror Relative Entity (m_strMirrorRelative) <targetname>
Todo: Add proper description

Inputs

SetTarget <stringRedirectInput/string>
Set the Target Entity
SetMirrorTarget <stringRedirectInput/string>
Set the Mirror Target Entity
SetRemoteTarget <stringRedirectInput/string>
Set the Remote Target Entity
SetMirrorRelative <stringRedirectInput/string>
Set the Mirror Relative Entity

Outputs