Jump to content

Scripting Help for Idles


TheSkoomaKing

Recommended Posts

Hello everyone! I have a quick question.


i am trying to create a script on an activator, so when you activate the activator the player will play an idle
this idle to be percise(IdleUseMeadBarrelEnter)

here is the script:

 

Scriptname _ScumIslandMeadFillUpScript extends ObjectReference  

MiscObject Property BasicTankard01  Auto  

MiscObject Property Gold001  Auto  

Potion Property FilledTankard  Auto  

Idle Property FillupIdle  Auto  



Event OnActivate(ObjectReference akActionRef)

Game.ForceThirdPerson()
Game.Getplayer().Removeitem(Gold001,10)
Game.Getplayer().PlayIdle(FillupIdle)
Game.DisablePlayerControls()
Debug.SendAnimationEvent(Game.Getplayer(), "IdleUseMeadBarrelEnter")
Utility.wait(3)
Game.EnablePlayerControls()
Game.Getplayer().Additem(FilledTankard,1)

Endevent

 

 


everything is firing but not the actual idle. i have also tried Game.Getplayer().PlayAnimation("FillupIdle")
with no luck. do you know what might be wrong?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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