Scripting
From Divinity Engine Wiki
Introduction
The scripting system is currently used for the behaviour of characters and items. For characters this is only part of the behaviour, as many more systems are influencing this in the following priority:
- Story: executing Osiris Tasks
- Dialogs: dialog behaviour and animations
- Statuses: dying, frozen, petrified, ...
- Scripts: executing the current reaction or scriptframe
Scripts are the lowest priority and will only execute if none of the other systems want to do something. For items it's a lot simpler, as the scripting system is the only thing that influences the items behaviour.