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 //------------------------------------------------------------------------------------------------
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  {
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