Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Aug 2017
D
D00med Offline OP
member
OP Offline
member
D
Joined: Aug 2017
Can't seem to find the animation for for drinking a potion. I'm looking for the name to add to a skill, but I literally can't find where potion effect animation is referenced anywhere. Any ideas?

Joined: Sep 2017
J
journeyman
Offline
journeyman
J
Joined: Sep 2017
Pretty sure it's covered by use_drink

Joined: Aug 2017
D
D00med Offline OP
member
OP Offline
member
D
Joined: Aug 2017
use_drink with in the stats editor, under what? Or do you mean searching in root templates? Because searching the root templates gives nothing and can't find anything animation wise by looking through RS3 starting tags.

Joined: Sep 2017
J
journeyman
Offline
journeyman
J
Joined: Sep 2017
No "use_drink" is the simple name you need to call for the animation in scripts.

https://docs.larian.game/Osiris/API/PlayAnimation
and
https://docs.larian.game/Osiris/API/SetAnimationOverride

The specific animations in root are named like
Dwarves_Hero_Female_ABC_Use_Drink_01
Dwarves_Hero_Male_ABC_Use_Drink_01
etc

If you open any of the "hero" entries under VisualSetResource (the double teapot icon in the resource manager) you can use the drop down next to the Play Animation button to scroll through all the various simple named animations. They are alphabetical so scroll to the bottom to find use_drink, use_eat, etc.


Moderated by  Larian_KVN 

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