Skip to content

dss_message

Ryzom Core Wiki edited this page Jul 8, 2024 · 4 revisions

title: DSS Message description: published: true date: 2023-03-16T23:06:25.233Z tags: editor: markdown dateCreated: 2023-03-16T22:22:48.853Z

dssMessage

The dssMessage native AI script function calls the DSS function CAnimationModule::dssMessage.

Syntax

()dssMessage(instance: f, mode: s, who: s, msg: s)

Arguments

  • instance (float): The session ID of the target.
  • mode (string): The DSS mode.
  • who (string): The speaker.
  • msg (string): The message.

Return value

None.

Example

()dssMessage(114, "BC", "Bob", "Life is hard");

This example code calls the DSS function with session ID 114, mode "BC", speaker "Bob", and message "Life is hard".

()dssMessage(123, "SYS", "", "Hello world")

Broadcasts "Hello world" to everyone in session 123.

()dssMessage(123, "DM", "System", "Secret message")

Broadcasts "Secret message" to the DM who is running the scenario in session 123.

Clone this wiki locally