somhairle69tx Posted January 1, 2023 Share Posted January 1, 2023 I'm currently in the process of rebuilding a radio mod I made a year ago that has several glaring issues and was hoping to include a small feature that I left out of the original mod because I was running into this same issue. I've only ever made that one mod and my knowledge of how things work is lacking at best. A screenshot of what I'm trying to do is represented below. The problem is as soon as I introduce the OR to those conditions they fail. The ORs are working fine in the associated scene's phase conditions but fail here and I can't figure out why. Am I missing something simple or is their some underlying issue (with TopicInfos, for example) that I'm just not aware of? It's not really a major issue as I'll just scrap that feature again if I can't figure it out. I just figured I'd see if someone smarter than me has any suggestions. Link to comment Share on other sites More sharing options...
Fantafaust Posted January 1, 2023 Share Posted January 1, 2023 It fails when the conditions are true? Or all the possible returned topicinfos fail regardless of what song is playing? Also, is the currentsong still the Bing song at that point?I'm not looking at the creation kit right now so I'm assuming it's one of the lastsong vars by that time Link to comment Share on other sites More sharing options...
somhairle69tx Posted January 1, 2023 Author Share Posted January 1, 2023 The unmodified topicinfos still work as expected. Currentsong doesn't change until the next scene. I have a debug.trace in place to show that the value for currentsong_var is indeed still the same. I haven't yet tried attaching a script fragment to the topicinfo itself to see if something weird is afoot. The only reason I have to suspect it's failing is because of the outro that does play. Travis has a single generic outro with no conditions for tracks with no existing dialogue outro (e.g., none of the Magnolia songs nor The Wanderer (Dion) have specific outros). If one of the tracks listed in the conditions in the image was the last to play, that generic outro will follow instead of this one. Link to comment Share on other sites More sharing options...
Fantafaust Posted January 3, 2023 Share Posted January 3, 2023 Hmm. Maybe there's another topicinfo that is also returning true and cancelling this one out? Since there's no valid/specific ti to return, it returns the generic one?EDIT: if that is the case, you could probably fix it by either making them random or finding the other topicinfo with the conditions that also apply. Link to comment Share on other sites More sharing options...
LarannKiar Posted January 6, 2023 Share Posted January 6, 2023 It should work but if you edit then recompile the script after the condition with the variable was added to the form (TopicInfo), the condition may fail. Link to comment Share on other sites More sharing options...
somhairle69tx Posted January 8, 2023 Author Share Posted January 8, 2023 @Fantafaust - I've double and triple checked all the records for any overlap and there is none. @LarannKiar - Any changes to the scripts I use are tested on new games not existing saves. Thanks for trying guys. I'm at a loss on this. I'll probably just drop this feature again and worry about it some other time. Or not. Link to comment Share on other sites More sharing options...
Fantafaust Posted January 9, 2023 Share Posted January 9, 2023 This is editing the original Diamond City radio, right?If you feel like it, upload your mod somewhere and I'll take a look at it. I made a radio station on my ED-E mod so I should be able to at least work out the issue if I get a good look at it Link to comment Share on other sites More sharing options...
Recommended Posts