-
Notifications
You must be signed in to change notification settings - Fork 94
send_message
Ryzom Core Wiki edited this page Jul 8, 2024
·
5 revisions
title: Send Message description: published: true date: 2023-03-16T23:14:13.885Z tags: editor: markdown dateCreated: 2023-03-16T22:32:51.237Z
The send_message action is used to send a message to another service. This can be useful for sending information to EGS or other external systems.
The content parameter is a free-form string that should be understood by the destination service.
<service name>
<content>
- <service name>: The name of the service to which the message will be sent.
- <content>: The message content as a free-form string. Can be more than one line.
This sends a message to the EGS service containing the mission result for the NPC group 12345 that is being handled by this state, indicating success.
EGS
12345
success
- Code: An action that can be used to execute more complex logic and control flow than the other basic action types, including sending messages to external services using built-in functions.
- Trigger Event: An action that can be used to trigger custom event handlers on other NPC groups, which can be used in combination with external services to perform more advanced actions.