Deathoctimus Posted April 4, 2018 Author Share Posted April 4, 2018 If the ReferenceAliases are pointing to the objects, then I have no clear idea why the variable is coming back as none. Yeah its getting annoying I want this to work so I can move forwards! I'm gonna keep trying. Btw I use a xmarker should I be using a xmakerheading? Link to comment Share on other sites More sharing options...
Evangela Posted April 4, 2018 Share Posted April 4, 2018 (edited) Try testing the validity of all your aliases outside of the pod function and not assigned to any local variable. This is to determine if the issue lies with the pod function. Also don't get discouraged. Testing is a huge track stopper, but necessary evil. Hang in there. Edited April 4, 2018 by Rasikko Link to comment Share on other sites More sharing options...
Deathoctimus Posted April 4, 2018 Author Share Posted April 4, 2018 In short Getrefrence() is not working with ReferenceAlias it's returning None. but I put in some notifications like you said and it says they contain ReferenceAlias but with a [ "[ReferenceAlias"I have no idea whats going off... Link to comment Share on other sites More sharing options...
Reneer Posted April 4, 2018 Share Posted April 4, 2018 In short Getrefrence() is not working with ReferenceAlias it's returning None. but I put in some notifications like you said and it says they contain ReferenceAlias but with a [ "[ReferenceAlias"I have no idea whats going off...The issue is most likely that your ReferenceAliases are not pointing to anything for some reason, otherwise GetReference() would be returning something. Link to comment Share on other sites More sharing options...
Deathoctimus Posted April 4, 2018 Author Share Posted April 4, 2018 Yeah, I've tried all sorts in that menu with no joy even noticed that you need to have ReferenceAlias has the extents yet still comes back empty. Completely stuck. Link to comment Share on other sites More sharing options...
Reneer Posted April 4, 2018 Share Posted April 4, 2018 I mean, you could just use ObjectReferences instead. Link to comment Share on other sites More sharing options...
Deathoctimus Posted April 4, 2018 Author Share Posted April 4, 2018 gah ffs throw me in a cupboard and pummel me. I had something called dirty save. https://www.creationkit.com/index.php?title=FAQ:_My_Script_Doesn%27t_Work!#I_can.27t_get_my_alias_to_point_to_a_reference Link to comment Share on other sites More sharing options...
Deathoctimus Posted April 5, 2018 Author Share Posted April 5, 2018 Okay well, the code is running, I managed to get Ontranslatecompleted to run after playing about and copying from UFO script. I've seen the code for the sound I could experiment with, but not for adding an FX I have no clue here? Also, I have no idea why but the translation is jumping into place without moving...I've even tried SplineTranslateToRef it also does the same (its not speed). Ugh... Scriptname droppodfalling extends ReferenceAlias Const Quest Property DO_sob_incomingpod_quest Auto Const ReferenceAlias Property podswitch Auto Const ReferenceAlias Property podtarget Auto Const ReferenceAlias Property falling Auto Const function pod() DO_sob_incomingpod_quest.SetObjectiveCompleted(10) ;utility.Wait(3) ;falling.GetReference().Enable() RegisterForRemoteEvent(falling.GetReference(), "OnTranslationComplete") falling.GetReference().SplineTranslateToRef(podtarget.GetReference(), 1250, 625) EndFunction Event onTriggerEnter(ObjectReference akActionRef) if akActionRef == Game.GetPlayer() if DO_sob_incomingpod_quest.GetStage() > 0 pod() endif endif EndEvent Event ObjectReference.OnTranslationComplete(ObjectReference akSender) DO_sob_incomingpod_quest.SetObjectiveDisplayed(20) ;falling.GetReference().Disable() ;podswitch.GetReference().Enable(true) Debug.Notification("TRANSLATION COMPLETED") EndEvent Link to comment Share on other sites More sharing options...
Deathoctimus Posted April 8, 2018 Author Share Posted April 8, 2018 Okay so I managed to fix the issues https://www.creationkit.com/fallout4/index.php?title=TranslateTo_-_ObjectReference on this page, there is a section called "Collision boxes, bugs and other oddities" A MUST READ if you planning on doing TranslateTo turns out the Havok Collision data was causing the fault. Link to comment Share on other sites More sharing options...
Recommended Posts