Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#638624 07/12/17 06:33 PM
Joined: Jul 2017
W
WMC51 Offline OP
enthusiast
OP Offline
enthusiast
W
Joined: Jul 2017
I am adding lair actions to some of my boss fights in a gm campaign and using an invulnerable, invisible npc with the lair abilities so its in the initiative order.

What I need is a perma invis status since it becomes visible when even I use an ability.

Now this is just a QOL / immersion request since functionally it works and I just have to redo invisibility every turn or just have a super squirrel runing around.

Maybe an invulnerable nearly invisible llittle energy ball turned into an npc would work also.

Joined: Nov 2017
E
journeyman
Offline
journeyman
E
Joined: Nov 2017
Hi

You can always add a simple StoryScript for that. Something like this:
Code
IF
CharacterStatusRemoved((CHARACTERGUID)BOSS_GUID_HERE, "INVISIBLE",_)
THEN
ApplyStatus(BOSS_GUID_HERE, "INVISIBLE",-1.0,1);

Last edited by Erikem; 07/12/17 06:44 PM.
Joined: Jul 2017
W
WMC51 Offline OP
enthusiast
OP Offline
enthusiast
W
Joined: Jul 2017
I dont know where to even start with the scripting and thought someone who does could put something together with little effort.

Joined: Nov 2017
E
journeyman
Offline
journeyman
E
Joined: Nov 2017
When your mode is open in Engine

1. Open story editor
2. In File menu select "Generate Definitions"
3. Once done - close story editor
4. Open story editor again
5. Click "New script" and give it some name
6. In KB section of script input code I gave you:
Code
IF
CharacterStatusRemoved((CHARACTERGUID)BOSS_GUID_HERE, "INVISIBLE",_)
THEN
ApplyStatus(BOSS_GUID_HERE, "INVISIBLE",-1.0,1);

But in place of "BOSS_GUID_HERE" place GUID of the something that you want to keep invisible
7. In file choose Build and Reload
8. Make sure that it is initially invisible
9. Run your level and test

Also check this:
https://docs.larian.game/Osiris_Overview

Joined: Jul 2017
W
WMC51 Offline OP
enthusiast
OP Offline
enthusiast
W
Joined: Jul 2017
I don't even know where to start with this. I don't have a mod i'm making if anything I want to make a perma-invis npc I can place in gm mode.


Moderated by  Larian_KVN 

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