ai_action_self - ryzom/ryzomcore GitHub Wiki
title: AI Action Self description: published: true date: 2023-03-16T23:05:07.212Z tags: editor: markdown dateCreated: 2023-03-16T22:21:08.339Z
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.
()aiActionSelf(actionSheetId: s)
- actionSheetId (string): The sheet name of the action to trigger.
()aiActionSelf("defensive_aura.aiaction");
This example code triggers the AI action with the sheet name "defensive_aura.aiaction" on the bot itself.