npc_alyx

From Source Entities
Jump to navigation Jump to search
Npc alyx.png

npc_alyx is a point entity present in the Hl2.pngHalf-Life 2 series. Alyx, the female sidekick and love interest that's taking the world by storm!

Note: All keyvalues, inputs, and outputs are available in Hl2.pngEpisodicP1.png only.

Keyvalues[edit | edit source]

Should alyx have her EMP? (ShouldHaveEMP) <boolean>
Determines if Alyx can reprogram rollermines using the EMP tool.
Bug: Doesn't stop her from trying! Unless the DisallowInteraction input is sent, she still sticks her arm out for no reason.

Inputs[edit | edit source]

DisallowInteraction
Disallows Alyx from trying to hack rollermines.
AllowInteraction
Allows Alyx to hack rollermines and manhacks.
AllowDarknessSpeech <boolean>
Enables or disables Alyx's darkness mode lines. (I.e. "Shine your light on that thing")
GiveEMP <boolean>
Sets Should alyx have her EMP?.
VehiclePunted (Not in FGD)
If Alyx is in a vehicle and that vehicle is the caller, makes her complain about being punted by the gravity gun.

Outputs[edit | edit source]

OnFinishInteractWithObject
Fires when Alyx hacks a rollermine. Activator is that NPC.
OnPlayerUse
Fires when the player +uses Alyx.