Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_TestScriptedRadioMsgUserAction.c
Go to the documentation of this file.
2{
3 //------------------------------------------------------------------------------------------------
4 override void PerformAction(IEntity pOwnerEntity, IEntity pUserEntity)
5 {
6 GenericEntity owner = GenericEntity.Cast(pOwnerEntity);
7 BaseRadioComponent radioComp = BaseRadioComponent.Cast(owner.FindComponent(BaseRadioComponent));
8 if (!radioComp)
9 return;
10
11 BaseTransceiver transmitter = radioComp.GetTransceiver(0);
12 if (!transmitter)
13 return;
14
15 //ScriptedRadioMessage msg = new ScriptedRadioMessage();
16 //SCR_RequestTransportMessage msg = new SCR_RequestTransportMessage();
17 //transmitter.BeginTransmission(msg);
18 }
19}
proto external Managed FindComponent(typename typeName)
@ PerformAction