Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_RequestEvacuationMessage.c
Go to the documentation of this file.
1
//------------------------------------------------------------------------------------------------
2
class
SCR_RequestEvacuationMessage
:
SCR_RequestMessage
3
{
4
//------------------------------------------------------------------------------------------------
5
override
void
OnDelivery(
BaseTransceiver
receiver,
int
freq,
float
quality)
6
{
7
if
(m_RequesterMainBase && receiver.GetRadio() && receiver.GetRadio().GetOwner() == m_RequesterMainBase &&
GetTaskManager
())
8
{
9
SCR_EvacuateTaskSupportEntity
supportEntity =
SCR_EvacuateTaskSupportEntity
.Cast(
GetTaskManager
().FindSupportEntity(
SCR_EvacuateTaskSupportEntity
));
10
if
(supportEntity)
11
supportEntity.RequestEvacuation(m_iRequesterID,
m_vPosition
);
12
}
13
}
14
};
GetTaskManager
SCR_BaseTaskManager GetTaskManager()
Definition:
SCR_BaseTaskManager.c:7
BaseTransceiver
Definition:
BaseTransceiver.c:12
SCR_EvacuateTaskSupportEntity
Definition:
SCR_EvacuateTaskSupportEntity.c:8
m_vPosition
vector m_vPosition
Definition:
SCR_AITalkRequest.c:23
SCR_RequestMessage
Definition:
SCR_RequestMessage.c:2
SCR_RequestEvacuationMessage
Definition:
SCR_RequestEvacuationMessage.c:2
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Campaign
SCR_RequestEvacuationMessage.c
Generated by
1.8.17