Jump to content

Do we have a function or method to determine if a players radio is on or off?


devinpatterson

Recommended Posts

Do we have a function or method to determine if a players radio is on or off? I'v looked at all the vanilla, NVSE (& plugins) functions and don't see any way to grab that info. I'v thought about going to each talking activator to determine if one is active, but I think that would be a dead end since user created mods can have new stations.
Link to comment
Share on other sites

I don't think so. Going through radio activator doesn't do the trick, since if they are activated that only means that one could hear the broadcast, not that one actually does.

Yeah :sad:

 

Luthienanarion is going to take a peek at it, and I can't think of anyone better to figure out a new function for it.

Link to comment
Share on other sites

I don't think so. Going through radio activator doesn't do the trick, since if they are activated that only means that one could hear the broadcast, not that one actually does.

I was just clicking on your " How to customise the Radio Mod RACE in 4 easy steps" link in your signature and got a redirect to nexus's home page. I'd like to take a look at that article and didn't see it under nexus profile. If it's still available could you post a updated link for it? Thanks brother

Link to comment
Share on other sites

Hey devinpatterson, yep, he might be able to do sth with NVSE. I have no idea how to develop a script extender plugin, so it would be a cool thing.

 

The link in my signature is old, I removed it. There's a brief outline in my mod description here and a more detailed one here.

 

tT

Link to comment
Share on other sites

And btw, I think you may have sth similar in you mind like what I did, turning radio stations on or off via hotkey or switching them or sth like this. Since there was no function I could use, I scripted a way around by using integers. It has the drawback, that those integers are not set while the player uses the radio pipboy tab to switch a station, but within the mod, with my hotkeys, it works. Since the function was added to circumvent the pipboy radion tab, it is good enough for that purpose.

Edited by tortured Tomato
Link to comment
Share on other sites

The link in my signature is old, I removed it. There's a brief outline in my mod description here and a more detailed one here.

 

tT

Thanks I'll check those out

 

 

And btw, I think you may have sth similar in you mind like what I did,

It is in relation to a request to reduce sneak skill while the radio is playing.

 

turning radio stations on or off via hotkey or switching them or sth like this. Since there was no function I could use, I scripted a way around by using integers. It has the drawback, that those integers are not set while the player uses the radio pipboy tab to switch a station, but within the mod, with my hotkeys, it works. Since the function was added to circumvent the pipboy radion tab, it is good enough for that purpose.

Ah, I see, so by restricting your radio stations to a hotkey you essentially are able to monitor and control the radio, by virtue of monitoring and controlling the hotkeys.

 

You mentioned integers, which in my limited experience refers to integer variables, but said "I scripted a way around by using integers". I was wondering if there was a special context or meaning I missed in your post, beyond their definition simply as a var.

 

Thanks Tomato

Link to comment
Share on other sites

Integers are variables just ... of a special data type. Beyond that, nothing special.

 

Yeah, you are right, I scriptet around by using some variables (which somehow is limiting). A function to determine your purpose is not known to me.

 

So you at the current state you have to work around that problem. In my experience it simply is not possible to fetch what station on the radio is playing. At least with the known functions. But my common sense says, there must be a function, maybe hardcoded, because without that, it would be impossible to save that information in your save game.

 

---> You start the game and somehow it reminds the radio station played last on your pipboy.

 

-------> There is a function to carry that data.

Edited by tortured Tomato
Link to comment
Share on other sites

  • Recently Browsing   0 members

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