Scripting

From Divinity Engine Wiki
Revision as of 12:11, 8 September 2017 by Rimevan (talk | contribs) (Created page with "<h1><u>Introduction</u></h1> 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.