Need help scripting a scene in papyrus

Post » Fri Sep 26, 2014 7:53 am

Here is what I want to do.

Play uses an activator. The scene fades out and fades back in with the player in an animation. Fade out and back in player is moved to another spot playing an animation. Fade out and in player is back in original location.

Now I have figured out how to force 3rd person, move the player and have them do an animation. What I can't figure out is how to do the Fade out and in.

Also I need to find a list of animation events to find the proper animation.

User avatar
Cameron Wood
 
Posts: 3384
Joined: Wed Oct 31, 2007 3:01 pm

Post » Fri Sep 26, 2014 4:14 am

Use http://www.creationkit.com/ImageSpaceModifier_Script :)

User avatar
lacy lake
 
Posts: 3450
Joined: Sun Dec 31, 2006 12:13 am

Post » Fri Sep 26, 2014 6:24 am

Got the script working somewhat now I just need to find the proper animation for sweeping.
Here is what i've got so far.


ObjectReference Property Marker1 autoObjectReference Property Marker2 autoObjectReference Property Marker3 autoObjectReference Property xmarker autobool property fade = False AutoEvent OnActivate (ObjectReference akActionRef)Actor Player = GetPlayer()If akActionRef == PlayerGame.FadeOutGame(false,true,2.0,1.0)Game.DisablePlayerControls()Game.ForceThirdPerson()Player.MoveTo (Marker1)Utility.Wait(1.0)Debug.SendAnimationEvent(Player,"Sweep")Utility.Wait(3.5)Game.FadeOutGame(false,true,2.0,1.0)Player.MoveTo (Marker2)Debug.SendAnimationEvent(Player,"IdleSweep")Utility.Wait(3.5)Game.FadeOutGame(false,true,2.0,1.0)Utility.Wait(1.0)xmarker.Disable(fade)Player.MoveTo (Marker3)Game.ForceFirstPerson()Game.EnablePlayerControls()Debug.Messagebox("Done");self.disable()EndifEndEvent
User avatar
Lizs
 
Posts: 3497
Joined: Mon Jul 17, 2006 11:45 pm


Return to V - Skyrim