Comp choreo sceneset: Difference between revisions
Jump to navigation
Jump to search
DrMeepster (talk | contribs) m (fix category error) |
Kittymatthew (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{point ent|comp_choreo_screenset|game= | {{point ent|comp_choreo_screenset|game=TeamSpen's Hammer Addons|internal=1}} It is also available in {{P2CE}}[[Portal 2: Community Edition]]. It finds the closest entity of a given type, then outputs various values depending on the keyvalues set. | ||
==KeyValues== | ==KeyValues== |
Revision as of 13:12, 10 May 2021
Template:Point ent It is also available in Portal 2: Community Edition. It finds the closest entity of a given type, then outputs various values depending on the keyvalues set.
KeyValues
- Clean up after starting ([todo internal name (i)]) <choices>
- If set, Kill choreo scenes after starting so they only play once. If set, the Cancel input will not work properly.
- 0 : No
- 1 : Yes
- If an actor is talking... ([todo internal name (i)]) <choices>
- What to do if an actor in this scene is already talking when this scene is told to start.
- 0 : Start immediately
- 1 : Wait for actor to finish
- 2 : Interrupt at next interrupt event
- 3 : Cancel at next interrupt event
- On player death ([todo internal name (i)]) <choices>
- What should this entity do if the player dies?
- 0 : Do nothing
- 1 : Cancel Script and return to AI
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- Start
- Start the choreo sequence playing.
- Stop
- Stop the choreo sequence at any point.
Outputs
- OnStart
- Fired when the sequence starts.
- OnFinish
- Fired when the sequence is complete.