Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Sep 2017
P
pollock Offline OP
stranger
OP Offline
stranger
P
Joined: Sep 2017
Hi all,

I am trying to find a way to add the "Fane" tag to all of Fanes shapeshifting forms, but I can't find them in the divinity engine. Does anyone know where they might be and what they are called?

Joined: Mar 2016
Location: Belgium
T
addict
Offline
addict
T
Joined: Mar 2016
Location: Belgium
Shapeshift forms are statuses, not characters or something like that. The FANE tag (and any other origin tag) actually gets explicitly removed by script when you shapeshift. By default, it would just stay there.

You can easily re-add it in Osiris though, because at the same time, shapeshifting sets the SHAPESHIFT_FANE option.

Safest would probably be to also add the FANE tag again at that point. That may make some dialog options show up twice (in case there are separate ones for FANE and SHAPESHIFT_FANE), but it will avoid issues with script code that depends on SHAPESHIFT_FANE being set when Fane is shapeshifted.

So something like this should work:

Code
IF
ObjectWasTagged(_Player,"SHAPESHIFT_FANE")
THEN
SetTag(_Player,"FANE");


Moderated by  Larian_KVN 

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