chucksteel Posted June 13, 2012 Share Posted June 13, 2012 I'm hoping to get a little help with some scripting, I've ben working on an update for the RFCW transit method me an Ugsquish have built and, I'm having a few problems. Here is the scenario, I've got a train engine interior which it the actual transit point between the DC waste and, the Mojave Waste, after buying a ticket in the main train station the player enters the engine and, activates a switch. This switch is supposed to take the ticket, enable some FX, play a sound display some messages and, enable the doors to the opposite wasteland. Making it feel like the player is firing up the train engine for the trip. For the most part everything works but, there are some things that I want to work differently or, better. The switch enables an X marker that turns on the FX and, activates the proper door, This works perfectly when in the Mojave waste but, when in the DC waste it's a little off. This is because the FX don't get disable and, when the player is on there return trip instead of restarting the train engine they turn them off. I'm starting to think I need two switches that and, two sets of FX that get enabled, Disabled. When the player leaves the cell or, buys a new ticket. What I could use help with is, 1. the best way to deactivate the FX when the player leaves the cell, 2. a way to add a "Fade to black" between the two messages during the travel method. "Ticket Removed", Fade to black! "Seven Days later". Any thoughts, help would be appreciated. I do hope I was clear in my description of intent, I can see what I want to do in my head but, don't feel like I can verbalize it. http://forums.nexusmods.com/public/style_emoticons/dark/wallbash.gif Here is the script I'm working on, It was mostly written by Ugsquish but, I've updated it to display some messages and, play the sounds I need. scn RFCWTrainEngineDisableLinkOnActivateSCRIPT ; basic script that enables linked reference on activate short DoOnce ref myLink begin gamemode if RFCWTrainSide == 0 set myLink to getLinkedRef myLink.disable else set myLink to getLinkedRef myLink.enable endif end begin onActivate if RFCWTrainSide == 0 if Player.GetItemCount RFCWTicket02 >= 1 player.removeitem RFCWTicket02 1 if doOnce == 0 set doOnce to 1 endif activate set RFCWTrainSide to 1 Player.Playsound QSTEndPowerUpTurbine Player.Playsound QSTEndPowerUpTurbine showmessage RFCWSevenDays else showmessage RFCWNoTicket endif else if Player.GetItemCount RFCWTicket01 >= 1 player.removeitem RFCWTicket01 1 if doOnce == 0 set doOnce to 1 endif activate set RFCWTrainSide to 0 Player.Playsound QSTEndPowerUpTurbine Player.Playsound QSTEndPowerUpTurbine showmessage RFCWSevenDays else showmessage RFCWNoTicket endif endif end Thanks in advance for any assistance. chuck Link to comment Share on other sites More sharing options...
chucksteel Posted June 15, 2012 Author Share Posted June 15, 2012 Ok! I got the fade to black and the sounds worked out so thats a non issue! Does anyone have a command that will coc the player to a different cell? Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted June 15, 2012 Share Posted June 15, 2012 Put an xmarkerheading in the cell you want to move to, and do a player.moveto to that xmarker. Link to comment Share on other sites More sharing options...
chucksteel Posted June 15, 2012 Author Share Posted June 15, 2012 Put an xmarkerheading in the cell you want to move to, and do a player.moveto to that xmarker. will this work during the fade to black? I don't care if there is a load screen "just want a fade to black, transit, fade to game, post my message, Player moves on! Link to comment Share on other sites More sharing options...
rickerhk Posted June 15, 2012 Share Posted June 15, 2012 yes, the moveto will work during the fade to black. Link to comment Share on other sites More sharing options...
chucksteel Posted June 15, 2012 Author Share Posted June 15, 2012 yes, the moveto will work during the fade to black. thanks, I'll try that! I suck at scripts can mostly only pull off simple stuff! this is the most complicated I've tried! Link to comment Share on other sites More sharing options...
Recommended Posts