Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Jun 2014
I
i30817 Offline OP
apprentice
OP Offline
apprentice
I
Joined: Jun 2014
I know you can check if the item is in the inventory with ItemGetFromInventory

but that only gets the first item in the inventory and doesn't check if its actually equipped.

Anyway to do that besides the insane option of creating a custom skill and check with CharacterCanCast (which doesn't even work when the skill is on cooldown)?

Maybe it's possible to set a item specific variable from a object script? Can you make a script run when something is equipped?

edit: this is annoying because there is actually a 'item equipped' event... on story scripts, which i can't affect without the editor working on wine.

edit2: maybe there is a way to catch 'OnStatusCreateVisuals' on a itemscript that catches when the item appears on the avatar?

Last edited by i30817; 01/11/21 11:44 AM.
Joined: Jun 2014
I
i30817 Offline OP
apprentice
OP Offline
apprentice
I
Joined: Jun 2014
I gave up on this and i'm using the 'it's in inventory' approach now for a reward item.

Last edited by i30817; 08/11/21 04:37 PM.

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