Env speaker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=env_speaker}}
{{wrongtitle|title=env_speaker}}
==Entity Description==
==Entity Description==
Announcement Speaker, used in several maps it uses the NPC response context system. You can specify time between announcements. When it makes an announcement, it looks at its Context rule script, chooses the best rule(Response Contexts and Concept name are used here), then dispatches a response which could be a .vcd scene that controls a NPC, a sentense, or just a sound. See [[Response System]] for more information about context rule script grammer.
Announcement Speaker, used in several maps it uses the NPC response context system. You can specify time between announcements. When it makes an announcement, it looks at its Context rule script, chooses the best rule(Response Contexts and Concept name are used here), then dispatches a response which could be a .vcd scene that controls a NPC, a sentense, or just a sound. See [[Response System]] for more information about context rule script grammar.


==Keyvalues==
==Keyvalues==

Revision as of 15:39, 31 October 2005

Template:Wrongtitle

Entity Description

Announcement Speaker, used in several maps it uses the NPC response context system. You can specify time between announcements. When it makes an announcement, it looks at its Context rule script, chooses the best rule(Response Contexts and Concept name are used here), then dispatches a response which could be a .vcd scene that controls a NPC, a sentense, or just a sound. See Response System for more information about context rule script grammar.

Keyvalues

<string> Minimum Delay Between Announcements
  • delaymax
<string> Maximum Delay Between Announcements
  • rulescript
<string> Script file containing rules for playing appropriate sounds.
  • Concept
<string> High level concept name used as primary search key.

Flags

  • Start Silent : 0
  • Play Everywhere : 0

Inputs

Turn on the random announcements.
  • TurnOff
Turn off the random announcements.
  • Toggle
Toggle the random announcements off and on.

Outputs