Generic Keyvalues, Inputs and Outputs (Source 2)
Jump to navigation
Jump to search
Note:currently listed only inputs and outputs not in Source

Keyvalues
- Parent (parentname) <targetname>
- The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
Confirm:whether it supports attachment separated by
,
(likely not as it's its own keyvalue now)- Parent Model Bone/Attachment Name (parentAttachmentName) <parentAttachment>
- The name of the bone or attachment to attach to on the entity's parent in the movement hierarchy. Use !bonemerge to use bone-merge style attachment.
- Model Attachment position offset (local.origin) <vector>
- Offset in the local space of the parent model's attachment/bone to use in hierarchy. Not used if you are not using parent attachment.
- Model Attachment angular offset (local.angles) <angle>
- Angular offset in the local space of the parent model's attachment/bone to use in hierarchy. Not used if you are not using parent attachment.
- Model Attachment scale (local.scales) <vector>
- Hierarchy
- Use Model Attachment Offset (useLocalOffset) <boolean>
- Whether to respect the specified local offset when doing the initial hierarchical attachment to its parent.
Inputs
- FollowEntity <string >
- Bone merges this entity to a parent entity. Call again passing nothing to end the bone merge.
- AddAttribute <string >
- Add a named attribute with a value of 1.
Note:Can be utilized with filter_activator_attribute_int
- RemoveAttribute <string >
- Remove named attribute.
- AddOutput
- Can odly add output as opposed to Source functionality of any keyvalues.
- Syntax:
outputname>targetname>inputname>parameter>delay>max times to fire (-1 == infinite)
- (all five
>
symbols need to be specified, blank 'delay' means 0, blank 'times to fire' means -1)
- CallPrivateScriptFunction
- Calls a script function from this entity's private script scope.
- CallGlobalScriptFunction
- Calls a script function in the global script scope.
- KillConstrained !FGD
- [Todo]
- ChangeSubclass !FGD
- [Todo]
- EnablePlatform !FGD
- [Todo]
- DisablePlatform !FGD
- [Todo]
Outputs
- OnKilled
- should fire when an entity is killed
Confirm:doesn't seem to work