Help with playing animations.

Post » Tue Sep 03, 2013 11:51 am

Hello again, Now for some reason I could never get animated objects to "play" specific animations via Papyrus scripting and i never knew what i did wrong so i finally decided to ask here. So in this specific situation i want to use the object "ImpFortHallCollapseFX01" which is where a hallway collapses.

Now in CK when I preview the object it lists 4 animations:

AnimIdle01(Pre collapsed)

AnimTrans01(Collapsing)

AnimIdle02(Collapsed)

AnimTrans02(Appears to be the same as AnimIdle02)

So what i tried was creating a triggerbox with the following script In which objectreference HW1 is "ImpFortHallCollapseFX01" :

Scriptname TTcollapseScript extends ObjectReference  import gameimport debugObjectReference Property hw1 auto;************************************Event onTriggerEnter(objectreference  triggerRef)	hw1.PlayAnimation("AnimTrans01")	self.disable()endEvent;************************************

In game when I test just nothing happens, so I hope someone can tell me what I am doing wrong. Thanks in advance!

User avatar
keri seymour
 
Posts: 3361
Joined: Thu Oct 19, 2006 4:09 am

Return to V - Skyrim