asw_info_message

From Source Entities
Jump to navigation Jump to search

Code classes:

Asw info message.png

asw_info_message is a point entity present in Asw.pngAlien Swarm. It displays a dismissable message on the screen of the activating player.

Bug: This entity will attempt to keep players from moving, but they can still move around by rolling (in a broken manner).

Keyvalues[edit | edit source]

Window Size (WindowSize) <integer>
Width of the message window. Minimum 4, maximum 6.
Message Name (WindowTitle) <string>
Do not use. It doesn't show anywhere.
Message Line 1 (MessageLine1) to Message Line 4 (MessageLine4) <string>
Paragraphs of text.
Message Sound (MessageSound) <sound>
Sound played when the message is shown.
Message Image (MessageImage) <string>
To do: Seems to not work.

Inputs[edit | edit source]

ShowMessage
Shows the message and plays the sound.
StopSound
Stops the sound from the last asw_info_message that made a sound.

Outputs[edit | edit source]

OnMessageRead
Fires when the message is closed.