Comp choreo sceneset: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (fix category error)
mNo edit summary
Line 1: Line 1:
{{point ent|comp_choreo_screenset|game=Portal 2: Community Edition|icon=P2CE|internal=1}} It is a forked version of the entity from [[TeamSpen's Hammer Addons]]. It is used to chain a set of choreographed scenes together.
{{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 EditionPortal 2: Community Edition. It finds the closest entity of a given type, then outputs various values depending on the keyvalues set.

KeyValues

Delay between each ([todo internal name (i)]) <float>
Add a delay between each scene.
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
Scene 1 (scene01) to Scene 20 (scene20) ([todo internal name (i)]) <scene>
Scenes to chain
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

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.


See also