env_radio_messsage
env_radio_messsage
is a point entity available in SiN Episodes.
Used for sending police radio messages from friendly NPCs to the player. Takes a speaker, message, and a priority. Inputs allow changing these variables and Dispatch issues the message. As the player traverses through the levels, the companions Jessica and JC will helpout via these police radio messages when not directly present; about what the current objective is and to remind the player in certain intervals of this, when a hectic situation unfolds or just for commenting on something of interest seen in the game world like a poster or scenery. For a list of all the messages available in the game and how to use the entity, refere to the list of radio messages page for more information.
Key Values
- Name
(???)
<string> - The targetname that other entities refer to this entity by.
- Speaker
(???)
<string> - Who is sending the message. Should be a classname (npc_jessica, npc_jc).
- Message
(???)
<string> - The message to send. This should be the name of a soundscript.
- Priority
(???)
<choices> - Priority of the message. Objectives override extraneous messages. You can only have one message of each type at a time. Use extraneous for non-essential messages.
- 0: Objective
- 1: Extraneous
Inputs
SetSpeaker
<string>- Set who is sending the message. Should be a classname.
SetMessage
<string>- Set the scene or .wav file of the message.
SetPriority
<string>- Set the priority of the message.
Dispatch
<string>- Dispatch a message (if none specified, using the message property). This should be the name of a soundscript.
Remove
- Removes a message that has been dispatched. No longer available to the player.
Targetname:
AddOutput
<string>- Evaluates a keyvalue/output on this entity.
Format:<key> <value>
Format:<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
FireUser1
toFireUser4
- Fire the
OnUser
outputs; see User Inputs and Outputs.
Kill
- Removes this entity and any entities parented to it from the world.
KillHierarchy
- Functions the same as
Kill
, although this entity and any entities parented to it are killed on the same frame, being marginally faster thanKill
.
Outputs
OnDispatch
- Fires when a message from this police radio is dispatched.
OnHeard
- Fires when a message from this police radio is heard by the player.
Targetname:
OnUse
- Fires when the
Use
input is given.
Base:
OnUser1
toOnUser4
- These outputs each fire in response to the firing of the like-numbered
FireUser1
toFireUser4
Input; see User Inputs and Outputs.