Jump to content

First Person Drink Animations?


thegreatgamecreator

Recommended Posts

Ok, there was a mod I was wanting to make which would basically play the drinking animation when ever you use something like scotch, wine, etc.

My idea was just to add a simple script that would put away player weapons during a set time duration and play an animation and when the timer runs out

re arm player. This would work by having script on each ingestible. I was wondering if there is a way I could use NVSE to do this or if I have a prayer at all.

Is commands for NVSE that will allow me to do this. I looked through some of the commands and haven't find anything thus far. But hoping someone more experienced in NVSE could point me in the right direction if possible. Thanks in advance.

Link to comment
Share on other sites

Sorry for the double post but I have been able to get the drinking animation to play but the problem is that it only plays when the bottle model is activated and not when the player drinks the beer.

But I don't know what I would need to change to make it work the way I want it too.

Here is my script for the beer.

 

ScriptName BeerScript

 

Begin OnActivate Player

disableplayercontrols

if IsPC1stPerson

player.PlayIdle BeerDrinkingStanding

else

player.Playidle BeerDrinkingStanding

endif

enableplayercontrols

End

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...