Comp choreo sceneset: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(comp entities are internal)
Line 1: Line 1:
{{P2CE point|comp_choreo_screenset}} 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=Portal 2: Community Edition|icon=P2CE|internal=yes}} It is a forked version of the entity from [[TeamSpen's Hammer Addons]]. It is used to chain a set of choreographed scenes together.


==KeyValues==
==KeyValues==

Revision as of 17:29, 8 May 2021

Template:Point ent It is a forked version of the entity from TeamSpen's Hammer Addons. It is used to chain a set of choreographed scenes together.

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