dss_message - ryzom/ryzomcore GitHub Wiki
title: DSS Message description: published: true date: 2023-03-16T23:06:25.233Z tags: editor: markdown dateCreated: 2023-03-16T22:22:48.853Z
The dssMessage native AI script function calls the DSS function CAnimationModule::dssMessage
.
()dssMessage(instance: f, mode: s, who: s, msg: s)
- instance (float): The session ID of the target.
- mode (string): The DSS mode.
- who (string): The speaker.
- msg (string): The message.
None.
()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.