Logic choreographed scene: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Outputs: {{activator}} & spelling)
m (→‎Keyvalues: ep1 add)
Line 15: Line 15:


* '''busyactor'''
* '''busyactor'''
: {{boolean}} Wait for the actor to finish?
: <choices> If an Actor is already talking...
:{|
! Literal Value || Description
|-
| 0 || Start immediately
|-
| 1 || Wait for actor to finish
|-
| {{ep1 add|2}} || {{ep1 add|Interrupt at next interrupt event}}
|-
| {{ep1 add|3}} || {{ep1 add|Cancel at next interrupt event}}
|}
* '''{{ep1 add|onplayerdeath}}'''
: If set, NPC will cancel script and return to AI.


==Inputs==
==Inputs==

Revision as of 12:09, 6 August 2006

Template:Wrongtitle

Entity Description

Choreo scene.png

Manages a choreographed scene of one or more actors.

Keyvalues

  • SceneFile
<scene> The VCD scene file to use.
  • target(1-8)
<target_destination> Use these keyvalues to specify the resolution of Actor or Event Target names that are using a !Target# name in the VCD.
  • busyactor
<choices> If an Actor is already talking...
Literal Value Description
0 Start immediately
1 Wait for actor to finish
Template:Ep1 add Template:Ep1 add
Template:Ep1 add Template:Ep1 add
If set, NPC will cancel script and return to AI.

Inputs

  • Start
Starts playback of the scene file
  • Pause
Pauses playback of the scene file
  • Resume
Resumes playback of the scene if it has been paused
  • Cancel
Cancels playback of the scene
  • InterjectResponse <string>
Finds an actor who can respond to the specified concept string while the scene continues playing
  • StopWaitingForActor
Stop waiting on an actor to stop talking.

Outputs

  • OnStart
The scene has started
  • OnCompletion
The scene has completed
  • OnCanceled
The scene has been cancelled
  • OnTrigger(1-8)
Scene trigger (1-8). (!activator is the activator)