ai_action_self - ryzom/ryzomcore GitHub Wiki


title: AI Action Self description: published: true date: 2023-03-13T03:23:34.356Z tags: editor: markdown dateCreated: 2023-03-13T03:22:23.519Z

aiActionSelf

The aiActionSelf native AI script function triggers an AI action, defined by its sheet name, on the bot itself, allowing the bot to perform various actions such as auras and self heal.

Syntax

()aiActionSelf(actionSheetId: s)

Arguments

  • actionSheetId (string): The sheet name of the action to trigger.

Example

()aiActionSelf("defensive_aura.aiaction");

This example code triggers the AI action with the sheet name "defensive_aura.aiaction" on the bot itself.

⚠️ **GitHub.com Fallback** ⚠️