Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_TestScriptedRadioMsgUserAction.c
Go to the documentation of this file.
1
class
SCR_TestScriptedRadioMsgUserAction
:
ScriptedUserAction
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
}
BaseTransceiver
Definition
BaseTransceiver.c:13
GenericEntity
Definition
GenericEntity.c:16
IEntity
Definition
IEntity.c:13
IEntity::FindComponent
proto external Managed FindComponent(typename typeName)
SCR_TestScriptedRadioMsgUserAction
Definition
SCR_TestScriptedRadioMsgUserAction.c:2
ScriptedUserAction
Definition
ScriptedUserAction.c:13
PerformAction
@ PerformAction
Definition
EUserActionEvent.c:15
scripts
Game
UserActions
SCR_TestScriptedRadioMsgUserAction.c
Generated by
1.17.0