Env alyxemp: Difference between revisions
Jump to navigation
Jump to search

Tip:To find attachment points for other models, use ent_attachments.
(updates) |
(→Inputs: |prel4d=1) |
||
Line 23: | Line 23: | ||
{{IO|Stop|param=float|Stops the effect. {{todo|Clarify what the parameter does?}}}} | {{IO|Stop|param=float|Stops the effect. {{todo|Clarify what the parameter does?}}}} | ||
{{IO|SetTargetEnt|param=string|Sets the '''Target Entity''' for the effect.}} | {{IO|SetTargetEnt|param=string|Sets the '''Target Entity''' for the effect.}} | ||
{{I BaseEntity|base=1}} | {{I BaseEntity|base=1|prel4d=1}} | ||
==Outputs== | ==Outputs== | ||
{{O BaseEntity}} | {{O BaseEntity}} |
Revision as of 14:35, 7 September 2018


Template:Hl2 point This entity creates a particle effect from Alyx's EMP.
To attach one end to Alyx's EMP device:
- Use the Parent keyvalue or the
SetParent
input to parent it to npc_alyx. - Send the
env_alyxemp
theSetParentAttachment
input withemp
for the parameter.
To change the Target Entity, use the SetTargetEnt
input with the new entity name for the parameter.

Keyvalues
- EMP Type ([todo internal name (i)]) <choices>
- EMP effect type.
- 0: Small
- 1: Large
- Target Entity ([todo internal name (i)]) <targetname>
- Entity to use as a target endpoint (probably an info_target).
Inputs
- StartCharge <float >
- Start charging the effect over specified number of seconds.
- StartDischarge
- Start discharging the effect over specified number of seconds.
- Stop <float >
- Stops the effect. Todo: Clarify what the parameter does?
- SetTargetEnt <string >
- Sets the Target Entity for the effect.