Send out RF broadcast on event?

I'm looking for information about this snippet I found in another post:

RFManager.AddBroadcaster(int frequency, IRFObject obj)

My hope is that I can use this in a hook like OnAirdrop or similar but I'm not sure what to do - Google had literally one result which is the page I got the above line from:

https://umod.org/community/rust/12003-radio-frequency-hooks

An explanation on how this is used would probably benefit anyone wanting to do similar stuff.

Thanks in advance,

Tony. 

Nothing? Anyone know any other way to RF broadcast in game on an event trigger?
void OnAirdrop(CargoPlane cargoPlane, Vector3 position)
{
    var listeners = RFManager.GetListenList(500);
    foreach(var listener in listeners)
    {
        listener.RFSignalUpdate(true);
    }
}
You are a star :D

Merged post

When you run this code does the broadcast just continue on that frequency indefinately? Is there a way to then cancel broadcasting?

What I currently have works perfect with pager but once triggered the RF receiver never stops letting power thru, like the broadcast never ends.

Do I need to do something like:
listener.RFSignalUpdate(false);​

once I'm done?

Thanks in advance, I'll play about a bit later once I can get in front of my other computer.



Merged post

Got it sorted, thanks again.

Merged post

Hmm, was just thinking - is there a way to stop players transmitting on the frequency I chose?
Use the reserved frequency from 4760 to 4790.
Ahh, didn't even know there was a reserved band :D