Scripting: Introduction to Anubis

From Baldur's Gate 3 Modding

Overview

Anubis is the second scripting language used in Baldur's Gate 3, after Osiris. Anubis is a powerful scripting framework used within the Editor to define character and object behaviours in the game. It’s built on top of Lua, a lightweight scripting language, and adds extra features to make game-specific behaviours easier to manage.

Anubis makes it easier to define complex game logic and behaviours, such as making characters wander around, interact with players, or react to environmental triggers. It does this by using concepts like states and behaviour trees to structure decision-making and actions.

Tutorials

The following tutorials cover most of the basic information you might need to know to work with Anubis. We recommend moving your way down the list in order.

How-To Guides

These guides provide more information on specific features of Anubis.