Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_VoNComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_VoNComponentClass

Functions

SCR_VonDisplay GetDisplay ()
bool IsTransmiting ()
bool IsTransmitingRadio ()
event void OnCapture (BaseTransceiver transmitter)
 VONComponent event.
event void OnReceive (int playerId, bool isSenderEditor, BaseTransceiver receiver, int frequency, float quality)
 VONComponent event.
event void OnVoNUsed (int senderId)
event IEntity GetEditorEntity (int playerId)
event vector GetEditorWorldLocation (int playerId)
override bool IsEntityActiveEditor (IEntity entity)
bool IsLocalActiveEditor ()

Variables

SCR_VoNComponentClass TRANSMISSION_TIMEOUT_MS = 500

Function Documentation

◆ GetDisplay()

SCR_VonDisplay GetDisplay ( )
protected

Get Display Info script

Returns
SCR_VonDisplay reference

Definition at line 29 of file SCR_VoNComponent.c.

◆ IsLocalActiveEditor()

bool IsLocalActiveEditor ( )
protected

Definition at line 135 of file SCR_VoNComponent.c.

◆ IsTransmiting()

bool IsTransmiting ( )
protected

Simple getter for when transmission was recently active, we assume that player's avatar should not produce various sounds while he's talking.

Returns
true if recently active

Definition at line 48 of file SCR_VoNComponent.c.

◆ IsTransmitingRadio()

bool IsTransmitingRadio ( )
protected

Radio transmission was recently active

Returns
true if recently active

Definition at line 56 of file SCR_VoNComponent.c.

Variable Documentation

◆ TRANSMISSION_TIMEOUT_MS

SCR_VoNComponentClass TRANSMISSION_TIMEOUT_MS = 500