logic_achievement
- Half-Life: Alyx
Point Entity
Sends an achievement system related event from the map to the achievement system.
Keyvalues
-
Start Disabled (
StartDisabled
) <Boolean
> -
Entity Scripts (
vscripts
) <ScriptList
>
Name(s) of script files that are executed after all entities have spawned. -
Name (
targetname
) <TargetSource
>
The name that other entities refer to this entity by. -
Achievement Event (
AchievementEvent
) <Choices
>
Named event is sent to the achievement system when this entity receives a 'FireEvent' input.- A1_IntroWorld1 - Feed the Snark
- A1_IntroWorld2 - Escape the Combine truck.
- A1_IntroWorld2 - Play with Playground
- A1_IntroWorld2 - Russell Scene - Represent Self with Specific Prop
- A1_IntroWorld2 - Russell Scene - Point Geiger At Russell
- A1_IntroWorld2 - Russell Scene - Catch/GG Ammo Clip Before It Lands
- A2_Quarantine - Enter the Quarantine Zone.
- A2_Hideout - After the Vort scene.
- A2_Hideout - Squeeze a HC Heart
- A2_HC_Tunnels - Collect the Shotgun
- A2_Drainage - Reach the Explosive Infestation
- A2_Trainyard - After the Train Heist
- A3_StationSt - Reach the Northern Star
- A3_Hotel_Lobby - After the first Reviver fight
- A3_Hotel_Underground - Escape the Pit
- A3_Hotel_Interior - Collect the Rapidfire
- A3_Hotel_Street - Shutdown the Substation
- A3_ProcPlant - After the Exploding Barrel Tripmine Room
- A3_Distillery - Leave the Distillery without killing BZ
- A3_Distillery - Leave the Distillery after killing BZ
- A3_Distillery - Kill Annoying HC Before He Knocks Bottles
- A3_Distillery - Catch Trap Bottles Before They Hit Ground
- A3_Distillery - Bring Russell Vodka
- A4_Zoo - Reach the Aquatic Exhibits
- A4_TankerYard - Solve the Tanker Yard's Toner puzzle
- A4_WaterTower - Reach the Water Tower
- A4_ParkingG - After the Strider Wakes Up
- A5_Vault - Reach the Superweapon
- A5_Vault - Hidden Carry Gnome
- A5_Ending - End Game
Inputs
-
Enable <
Void
>
Enable this entity. -
Disable <
Void
>
Disable this entity. -
RunScriptFile <
String
>
Load and execute a script file -
RunScriptCode <
String
>
Execute a fragment of script code -
CallScriptFunction <
String
>
Call a script function -
CallPrivateScriptFunction <
String
>
Calls a script function from this entity's private script scope. -
CallGlobalScriptFunction <
String
>
Calls a script function in the global script scope. -
Kill <
Void
>
Removes this entity from the world. -
KillHierarchy <
Void
>
Removes this entity and all its children from the world. -
AddOutput <
String
>
Adds an entity I/O connection to this entity. Parameter format: outputname>targetname>inputname>parameter>delay>max times to fire (-1 == infinite). Very dangerous, use with care. -
FireUser1 <
Void
>
Causes this entity's OnUser1 output to be fired. -
FireUser2 <
Void
>
Causes this entity's OnUser2 output to be fired. -
FireUser3 <
Void
>
Causes this entity's OnUser3 output to be fired. -
FireUser4 <
Void
>
Causes this entity's OnUser4 output to be fired. -
Toggle <
Void
>
Toggle the relay between enabled and disabled. -
FireEvent <
Void
>
Tells the achievement system the specifed event has occured.
Outputs
-
OnUser1 <
Void
>
Fired in response to FireUser1 input. -
OnUser2 <
Void
>
Fired in response to FireUser2 input. -
OnUser3 <
Void
>
Fired in response to FireUser3 input. -
OnUser4 <
Void
>
Fired in response to FireUser4 input. -
OnKilled <
Void
>
Fired when the entity is killed and removed from the game. -
OnFired <
Void
>
When the event fires, this fires.