CFlexExpresser

From Source Entities
Jump to navigation Jump to search

CFlexExpresser is a code class for a point entity which can take part in scripted sequences.

Classnames:

  • func_orator (only available in L4d.pngL4d2-small.png) - Used semi-frequently. Examples from Dead Center are when the survivors share their names in the hotel elevator, and when talking to the gun shop owner.
  • prop_talker (Not in FGD) (available in all games since Asw.png) - Unused, but works the same.

Flags[edit | edit source]

  • 1: Not solid (Always check this. There's no reason for this entity to be solid.)

Keyvalues[edit | edit source]

Max Followup Dist (maxThenAnyDispatchDist) <float> (available in all games since L4d2-small.png)
How far away another character can be while still responding to anything this entity says. 0 means infinitely far away.

Inputs[edit | edit source]

SpeakResponseConcept <string>
Speaks the specified response concept. (Example: c1m1_elevator_start.)

See Also[edit | edit source]