skittered Posted December 2, 2017 Share Posted December 2, 2017 Glad it's working. About timing, the Timer is incremented in (milliseconds) as quickly as the engine can render the scene, so with the Timer as a float you can set Timer checks to partial seconds if needed, ie: the exact length of the IMOD effect. Link to comment Share on other sites More sharing options...
Andyno Posted December 3, 2017 Author Share Posted December 3, 2017 Mktavish:Maybe it's not working for you because I actually copy/pasted in this thread the wrong script. As you may already know, I'm using my custom IMODs, so it's not DLC05TeleportOutISFX but BMDLC05TeleportOutISFX, as well as it's not DLC05TeleportInISFX but BMDLC05TeleportInISFX. Sorry about that... skittered:Sorry, but I have no idea what you're talking about, since I'm script noob. The initial script was made by Mktavish... Link to comment Share on other sites More sharing options...
Mktavish Posted December 3, 2017 Share Posted December 3, 2017 (edited) Mktavish:Maybe it's not working for you because I actually copy/pasted in this thread the wrong script. As you may already know, I'm using my custom IMODs, so it's not DLC05TeleportOutISFX but BMDLC05TeleportOutISFX, as well as it's not DLC05TeleportInISFX but BMDLC05TeleportInISFX. Sorry about that... skittered:Sorry, but I have no idea what you're talking about, since I'm script noob. The initial script was made by Mktavish...Ahh ... that is my problem then ... I should have seen that ... doh!I guess what I was seeing then , was why you decided you wanted to reverse the IMOD ? Skittered just means to adjust the timer checks. Like use "If Timer >= 2.5 or 1.75" for example ... if the IMOD's were not lining up correctly. But you had already done the timer adjusting for your custom IMOD's. Edited December 3, 2017 by Mktavish Link to comment Share on other sites More sharing options...
Andyno Posted December 10, 2017 Author Share Posted December 10, 2017 Guys, now I got another problem:While teleporting within a cell works perfectly, when I try to teleport to a different cell, the sound plays too early. But what is even more unwanted is the fact that after teleportation process I cannot move - it looks like EnablePlayerControls don't work as it should. :facepalm: Link to comment Share on other sites More sharing options...
skittered Posted December 11, 2017 Share Posted December 11, 2017 It's more likely a case of the Trigger and it's script instance being specific to the starting cell. What you probably need to do is track it with a small quest in order to be able to tell when the new cell is finished loading so that you can play the required sound and FX and re-enable the player controls once that's done. Link to comment Share on other sites More sharing options...
Andyno Posted December 11, 2017 Author Share Posted December 11, 2017 Thanks, that sounds reasonable, but how do I do that? It looks like you got some experience with quests... Link to comment Share on other sites More sharing options...
Mktavish Posted December 11, 2017 Share Posted December 11, 2017 Are you using that line I added for changing cells ? If GetInSameCell != 1 Play sound IMOD ISFX Set Timer to Timer + GetSecondsPassed If Timer >= 6 EnablePlayerControls ~~~~~~~~~~~~~~~~~ Or how ever that would fit into skittered's script ? Guess will need them to decide where to use that line since I'm a bit vague on the inner workings of that script structure. Link to comment Share on other sites More sharing options...
Andyno Posted December 11, 2017 Author Share Posted December 11, 2017 I was thinking about that, but since your script is quite different than skittered's, I thought it shouldn't work.But now I see you got also some doubts, if I'm correct... Link to comment Share on other sites More sharing options...
Mktavish Posted December 11, 2017 Share Posted December 11, 2017 Ya I'm not exactly sure where to put it but maybe as simple as extending this line with the green text. "If Timer >= 6 && GetInSameCell != 1" I guess give that a quick try until skittered chimes in. Link to comment Share on other sites More sharing options...
Andyno Posted December 11, 2017 Author Share Posted December 11, 2017 It doesn't allow me to save the script. It's writing: Missing parameter ObjectReferenceID. Link to comment Share on other sites More sharing options...
Recommended Posts