send_message - ryzom/ryzomcore GitHub Wiki


title: Send Message description: published: true date: 2023-03-12T01:48:51.366Z tags: editor: markdown dateCreated: 2023-03-11T22:15:06.874Z

send_message

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.

Parameter Syntax

<service name>
<content>

Parameters

  • <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.

Example

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

See also

  • 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.
⚠️ **GitHub.com Fallback** ⚠️