Jump to content

How to get the state of an activator


Recommended Posts

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

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

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

  • Recently Browsing   0 members

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