Template:KV ForceController: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Removed extra ))
m (Correct data type)
Line 1: Line 1:
{{ScrollBox|title=ForceController|
{{ScrollBox|title=ForceController|
{{KV|Attached Object|intn=attach1|target_destination|Object to apply the force to.}}
{{KV|Attached Object|intn=attach1|target_destination|Object to apply the force to.}}
{{KV|Time of Force (0{{=}}inf)|intn=forcetime|string|Automatic shut-off after this time has passed. A value of 0 means to stay on forever or until deactivated.}}
{{KV|Time of Force (0{{=}}inf)|intn=forcetime|float|Automatic shut-off after this time has passed. A value of 0 means to stay on forever or until deactivated.}}
{{KV Targetname}}
{{KV Targetname}}
}}<noinclude>
}}<noinclude>
[[Category:Keyvalue Templates|ForceController]]
[[Category:Keyvalue Templates|ForceController]]
</noinclude>
</noinclude>

Revision as of 05:59, 24 November 2024

ForceController:
Attached Object (attach1) <targetname>
Object to apply the force to.
Time of Force (0=inf) (forcetime) <float>
Automatic shut-off after this time has passed. A value of 0 means to stay on forever or until deactivated.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities