thousande Posted July 6, 2018 Share Posted July 6, 2018 Hi How can I check if an Activator is active? I have a trigger on the map that is linked to a 'custom' Radio Beacon Activator.When entering / leaving the trigger I want to check if the activator is activated. I see there are activator methods, but there is no methods or properties that suggests that there is a state. Do I miss something? I guess a solution is to create the functionality my self on the custom activator, but is there something built in? Thank you in advance,Thomas Link to comment Share on other sites More sharing options...
Hoamaii Posted July 6, 2018 Share Posted July 6, 2018 Not sure what you call a radio beacon. To get a radio quest to play music you need 2 things: a transmitter, which is an invisible activator and does not produce any music (it's just a relay to your radio quest which needs to be put in the world), and a receiver, which has 3D and can be activated on and off. IsRadioOn() is the bool function which can tell you if that receiver is on or off. Link to comment Share on other sites More sharing options...
thousande Posted July 6, 2018 Author Share Posted July 6, 2018 I guess it was too specific ;) I have duplicated and adjusted the RadioBeacon form/activator object. It should not function as a radio in the mod.It can be any object of type activator.Since these objects are categorized in Activators and there are Activate(), BlockActivator() methods etc. I would have guessed there was something like an IsActivated() method too So when the player character or npc activates the activator it should set a boolean state in the Papyrus object saying it is either on or off. Again, not a biggie as I can set up a script on the activator creating the functionality myself. Just wondering if there where something built-in Thomas Link to comment Share on other sites More sharing options...
pra Posted July 6, 2018 Share Posted July 6, 2018 Try GetOpenState:https://www.creationkit.com/index.php?title=GetOpenState_-_ObjectReference While making my own radio beacon, I noticed that calling setOpen will change the status of the switch of the beacon. So I think that getOpenState should return it's state as well. Link to comment Share on other sites More sharing options...
thousande Posted July 6, 2018 Author Share Posted July 6, 2018 openState seems to hold the 'active' information here Solved, Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts