Jump to content

OR conditions on TopicInfos not working


Recommended Posts

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

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

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

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

@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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...