Logic achievement: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 15: Line 15:
: Fire the event.
: Fire the event.
==Outputs==
==Outputs==
* {{o targetname}}
* {{O Targetname}}
* '''OnFired'''
* '''OnFired'''
: Called on FireEvent.
: Called on FireEvent.
[[Category:Half-Life 2: Episode Two Entities]][[Category:Portal Entities]]
[[Category:Half-Life 2: Episode Two Entities]][[Category:Portal Entities]]

Revision as of 20:11, 19 January 2009

Template:Wrongtitle

Entity Description

This entity can fire achievement events for the user.

Keyvalues

Name (targetname) <string>[ Edit ]
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

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
  • AchievementEvent
This is the ID of the event that will be triggered (e.g. ACHIEVEMENT_EVENT_EP2_WEBCACHE_01).

Inputs

  • EnableDisable:
Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
  • Toggle
Toggle this entity.
  • FireEvent
Fire the event.

Outputs

  • OnFired
Called on FireEvent.