logic_achievement

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is in the FGD, but is hidden and excluded by default.
See below for instructions on making it available.
Logic achievement.png

logic_achievement is a logical entity available in Half-Life: Alyx Half-Life: Alyx.

It fires events that unlock or aid progression toward achievements.

Since achievements cannot currently be created or modified without access to the Steamworks backend, this entity is of limited use to modders.

Keyvalues

Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also: Generic Keyvalues, Inputs and Outputs available to all entities
Achievement Event (AchievementEvent) <choices>
The event that will be triggered. A game will only accept its own achievements.
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

Toggle
If the entity is disabled, it cannot relay the achievement message.
FireEvent
Tells the achievement system the specifed event has occured.

EnableDisable:

Enable / Disable <void>
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs

OnFired
Fires when the FireEvent input is received.

FGD Code

  • Remove @exclude logic_achievement in hlvr.fgd or another FGD to make it visible in Hammer.