Comp choreo sceneset: Difference between revisions
Jump to navigation
Jump to search
Kittymatthew (talk | contribs) (Created page with "{{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. ==Key...") |
Kittymatthew (talk | contribs) (added first comp entity) |
||
Line 3: | Line 3: | ||
==KeyValues== | ==KeyValues== | ||
{{KV|Delay between each|float|Add a delay between each scene.}} | {{KV|Delay between each|float|Add a delay between each scene.}} | ||
{{KV|Clean up after starting|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 | |||
{{KV|If an actor is talking...|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 | |||
{{KV|On player death|choices|What should this entity do if the player dies?}} | |||
:* 0 : Do nothing | |||
:* 1 : Cancel Script and return to AI | |||
{{KV|Scene 1 (scene01) to Scene 20 (scene20)|scene|Scenes to chain}} | |||
{{KV Targetname}} | |||
==Inputs== | |||
{{IO|Start|Start the choreo sequence playing.}} | |||
{{IO|Stop|Stop the choreo sequence at any point.}} | |||
{{I Targetname}} | |||
==Outputs== | |||
{{IO|OnStart|Fired when the sequence starts.}} | |||
{{IO|OnFinish|Fired when the sequence is complete.}} | |||
{{O Targetname}} | |||
==See also== | |||
* [[TeamSpen's Hammer Addons]] |
Revision as of 11:54, 8 May 2021
Template:P2CE point 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
{{KV|Clean up after starting|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.