Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#651038 28/11/18 12:59 PM
Joined: Nov 2018
stranger
OP Offline
stranger
Joined: Nov 2018
Hi there

Osiris doesn't seem to provide an appropriate event to hook into attribute changes. The reason why I'm asking for this is that I'd like to provide custom stats for attributes similar to what's possible with combat abilities. This works perfectly fine for the latter with

[code]event CharacterBaseAbilityChanged((CHARACTERGUID)_Character, (STRING)_Ability, (INTEGER)_OldBaseValue, (INTEGER)_NewBaseValue)[/code]

It would be great if there would be a similar event for attributes. Are there any plans in providing such an event? Or are there at least workarounds which allow doing that? I would appreciate any hint given for that topic.

Joined: Nov 2018
stranger
OP Offline
stranger
Joined: Nov 2018
No comments? Nothing at all? Did any Larian employee even read this post?

Joined: Mar 2016
Location: Belgium
T
addict
Offline
addict
T
Joined: Mar 2016
Location: Belgium
The only workaround I can think of is to call CharacterGetBaseAttribute() for all characters in DB_IsPlayer every 10 seconds or so. There are no plans to add an additional event for that at this time, sorry.


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