Steak514 Posted May 24, 2016 Share Posted May 24, 2016 (edited) Edit-Title was meant to be Custom Scripts not working despite compiling correctly. Nothing to do with customer lol. I've been trying to do a simple hello world script in Fallout4 but am having issues. The code I write is- Scriptname Zagros:SWSZIHellowWorld extends ObjectReference Event OnActivate(ObjectReference akActionRef)debug.MessageBox("Hello World.")EndEvent I tried attaching it to a cigarette vending machine and a sleeping bag. The sleeping bag had a previous script but I removed it on the specific item. So only my script remained. Neither worked. I also tried writing the Event like Event OnInit() to get to appear without activation. Neither work. I compile the script, save it, then save the mod. Have tried loading a previous save and just typing ~coc testCell. I had done this exact same tutorial in Skyrim and it worked no problem, now nothing happens despite it compiling and saving without error. I noticed it saves my scripts in the user folder, do I need to move them to the other folder which holds all the other scripts? Edited May 24, 2016 by Steak514 Link to comment Share on other sites More sharing options...
shad0w316 Posted May 24, 2016 Share Posted May 24, 2016 (edited) Same issue. cant even get simple scripts to run on trigger enter. Actually cant even get a setobjectivedisplayed to fire by pushing the quest stage to 10 via console. Edit Moved scripts to other folders. Still nothing. Edited May 24, 2016 by shad0w316 Link to comment Share on other sites More sharing options...
deadbeeftffn Posted May 24, 2016 Share Posted May 24, 2016 I would suggest to enable Papyrus logging. This may (or may not) give you a hint.Edit you Fallout4.ini and change the Papyrus section: [Papyrus]fPostLoadUpdateTimeMS=500.0bEnableLogging=1bEnableTrace=1bLoadDebugInformation=1 Good luck ;-) Link to comment Share on other sites More sharing options...
shad0w316 Posted May 26, 2016 Share Posted May 26, 2016 (edited) Got to play around a bit tonight. Getting a store for class error in papyrus logs when trying to set the stage on the quest. AS I expected the game cant find the perfectly created script that is in the exact place it needs to be. As for running into triggers same issue. Ahh I love Beta. Edited May 26, 2016 by shad0w316 Link to comment Share on other sites More sharing options...
shad0w316 Posted May 26, 2016 Share Posted May 26, 2016 (edited) Reinstalled CK, Re started mod, working now. Noticed that fallout was unchecking my mod from the load order on every game load as well. Double check that. Also, The beta ck just simply does not generate scripts sometimes. Once you get one to generate they will all follow perfectly. Edited May 30, 2016 by shad0w316 Link to comment Share on other sites More sharing options...
Recommended Posts