Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_BaseTaskNotificationData Interface Reference
Inheritance diagram for SCR_BaseTaskNotificationData:
SCR_MajorTaskNotificationData SCR_MinorTaskNotificationData SCR_MajorBaseTaskNotificationData SCR_MajorRequestedTaskNotificationData SCR_MinorRequestedTaskNotificationData

Public Member Functions

bool CanSendNotification (notnull SCR_AIGroup receiverGroup)
 Checks if to send a message by group role.
 
bool CanSendToPlayer (notnull SCR_Faction faction, int playerId, vector taskPosition)
 Checks whether the message can be sent to the player based on the character role and distance from the task.
 

Public Attributes

SCR_ETaskNotificationMsg m_eTaskNotificationMsg
 

Protected Attributes

SCR_ETaskNotificationAllowedRole m_eAllowedCharacterRole
 
bool m_bSkipCommandFrequency
 
bool m_bAllowedDistance
 
float m_fDistance
 

Member Function Documentation

◆ CanSendNotification()

bool SCR_BaseTaskNotificationData.CanSendNotification ( notnull SCR_AIGroup receiverGroup)

Checks if to send a message by group role.

Parameters
[in]receiverGroup
Returns
true if the notification can be sent

◆ CanSendToPlayer()

bool SCR_BaseTaskNotificationData.CanSendToPlayer ( notnull SCR_Faction faction,
int playerId,
vector taskPosition )

Checks whether the message can be sent to the player based on the character role and distance from the task.

Parameters
[in]faction
[in]playerId
[in]taskPosition
Returns
true if the notification can be sent to specific players

Member Data Documentation

◆ m_bAllowedDistance

bool SCR_BaseTaskNotificationData.m_bAllowedDistance
protected

◆ m_bSkipCommandFrequency

bool SCR_BaseTaskNotificationData.m_bSkipCommandFrequency
protected

◆ m_eAllowedCharacterRole

SCR_ETaskNotificationAllowedRole SCR_BaseTaskNotificationData.m_eAllowedCharacterRole
protected

◆ m_eTaskNotificationMsg

SCR_ETaskNotificationMsg SCR_BaseTaskNotificationData.m_eTaskNotificationMsg

◆ m_fDistance

float SCR_BaseTaskNotificationData.m_fDistance
protected

The documentation for this interface was generated from the following file: