Generic Keyvalues, Inputs and Outputs (Source 2)

From Valve Developer Community
Revision as of 02:02, 27 April 2025 by Nescius (talk | contribs) (Created page with "{{TabsBar|main=s2|base=Generic_Keyvalues,_Inputs_and_Outputs}} {{stub}} {{note|currently listed only inputs and outputs not in Source}} == Keyvalues == {{todo}} == Inputs == {{I|FollowEntity|param=string|Bone merges this entity to a parent entity. Call again passing nothing to end the bone merge.}} {{I|AddAttribute|param=string|Add a named attribute with a value of 1.}} {{I|RemoveAttribute|param=string|Remove named attribute.}} {{I|AddOutput|Can odly add output as...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Note.pngNote:currently listed only inputs and outputs not in Source

Keyvalues

[Todo]

Inputs

FollowEntity <stringRedirectInput/string>
Bone merges this entity to a parent entity. Call again passing nothing to end the bone merge.
AddAttribute <stringRedirectInput/string>
Add a named attribute with a value of 1.
RemoveAttribute <stringRedirectInput/string>
Remove named attribute.
AddOutput
Can odly add output as opposed to Source functionality of any keyvalues. Syntax:


KillConstrained  !FGD
[Todo]
ChangeSubclass  !FGD
[Todo]
EnablePlatform  !FGD
[Todo]
DisablePlatform  !FGD
[Todo]
CallPrivateScriptFunction  !FGD
[Todo]
CallGlobalScriptFunction  !FGD
[Todo]

Outputs

OnKilled
should fire when an entity is killed
Confirm:doesn't seem to work