Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_PlayerRestrictionZoneWarningComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_PlayerRestrictionZoneWarningComponentClass
 

Functions

void ShowWarningServer (bool showWarning, ERestrictionZoneWarningType warningType, bool centerChanged, vector zoneCenter, float warningRadiusSq, float zoneRadiusSq)
 
protected void HideWarningOwner ()
 
protected void ShowWarningOwner (bool showWarning, ERestrictionZoneWarningType warningType, vector zoneCenter, float warningRadiusSq, float zoneRadiusSq)
 
override void EOnInit (IEntity owner)
 
override void OnPostInit (IEntity owner)
 Called on PostInit when all components are added. More...
 

Variables

SCR_PlayerRestrictionZoneWarningComponentClass m_WarningHUD
 
protected bool m_bShowingWarning
 
protected float m_fWarningEffectStrenghtPerc
 
protected float m_fWarningEffectStrenghtLookAtPerc
 

Function Documentation

◆ HideWarningOwner()

protected void HideWarningOwner ( )

Definition at line 36 of file SCR_PlayerRestrictionZoneWarningComponent.c.

◆ ShowWarningOwner()

protected void ShowWarningOwner ( bool  showWarning,
ERestrictionZoneWarningType  warningType,
vector  zoneCenter,
float  warningRadiusSq,
float  zoneRadiusSq 
)

Definition at line 44 of file SCR_PlayerRestrictionZoneWarningComponent.c.

◆ ShowWarningServer()

void ShowWarningServer ( bool  showWarning,
ERestrictionZoneWarningType  warningType,
bool  centerChanged,
vector  zoneCenter,
float  warningRadiusSq,
float  zoneRadiusSq 
)
Parameters
[in]showWarning
[in]warningType
[in]centerChanged
[in]zoneCenter
[in]warningRadiusSq
[in]zoneRadiusSq

Definition at line 21 of file SCR_PlayerRestrictionZoneWarningComponent.c.

Variable Documentation

◆ m_bShowingWarning

protected bool m_bShowingWarning

Definition at line 9 of file SCR_PlayerRestrictionZoneWarningComponent.c.

◆ m_fWarningEffectStrenghtLookAtPerc

protected float m_fWarningEffectStrenghtLookAtPerc

Definition at line 11 of file SCR_PlayerRestrictionZoneWarningComponent.c.

◆ m_fWarningEffectStrenghtPerc

protected float m_fWarningEffectStrenghtPerc

Definition at line 10 of file SCR_PlayerRestrictionZoneWarningComponent.c.

◆ m_WarningHUD