Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Jun 2013
addict
OP Offline
addict
Joined: Jun 2013
Is it leggit to consider DB as some sort of variable holder ?
If so, why not use plain variables, instead of declaring them in DB ?


Un chemin de 1000 lieues commence par un premier pas.

Project:
Steam workshop Frontiere
Joined: Dec 2013
old hand
Offline
old hand
Joined: Dec 2013
They share some similarities but are more powerful and expansive. DB entries can be indexed by multiple keys to create arrays DB_Foo(x, y, z, ...), and most notably DB entry modifications cause events to fire, so you can catch on them.

If you haven't checked it out, the Osiris Overview has some good information and Larian made two tutorial videos for scripting databases that are helpful:
Scripting Databases(1)
Scripting Databases(2)


DOS2 Mods: Happily Emmie After and The Noisy Crypt

Steam Workshop
Nexus Mods
Joined: Jun 2015
F
enthusiast
Offline
enthusiast
F
Joined: Jun 2015
It's the nature of this language.
There are no operators except comparison operators =, < and >.

Since there are no operators, the databases are the only way to assign and store values.

You get used to it after a while.


Moderated by  Larian_KVN 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5