Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

Help with scripting


Sammybeau
 Share

Recommended Posts

I am creating new dream scenes within the game for the disturbing dreams that you get during the main quest.  For it, I must make a quest and make a script so that when the player sleeps after finishing the "Antabolis Informant" quest, the player is teleported to the "dream world" (which I have already created.  I have tried very hard to make this script, but I am failing miserably as I do not have much experience with scripting in Papyrus.  For a test I set down a random object that could be activated and gave it this script:

 

ObjectReference Property TargetLocation auto
Event OnActivate(ObjectReference akActionRef) 
Game.GetPlayer().MoveTo(TargetLocation)
EndEvent

 

The target location is an Xmarker in the "dream world."  This script worked, but the ones that i have tried to make when the player sleeps have all failed.  If anyone could give me some advice that would be GREATLY appreciated.  Thanks.

Edited by InsanitySorrow
Do NOT mention Morroblivion/Skywind on TESA, it's prohibited.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...