14class Land_Underground_Panel:
House
40 RegisterNetSyncVariableBool(
"m_PanelWasUsed");
64 GetGame().RegisterNetworkStaticObject(
this);
71 ErrorEx(
"Can't find the instance of entrance the panel is linkined to");
89 ErrorEx(
"Attempted to unregistered non-registered entrance");
108 ErrorEx(
"Attempted to unregistered non-registered panel");
294 PlaySoundSet(
m_ActivationSound,
"UndergroundDoor_PanelActivation_SoundSet", 0, 0);
override void OnVariablesSynchronized()
const string SELECTION_NAME_LED_RED
static void UnregisterPanel(Land_Underground_Panel panel)
void ~Land_Underground_Panel()
static void RegisterEntrance(Land_Underground_EntranceBase entrance)
const string COLOR_LED_OFF
static void RegisterPanel(Land_Underground_Panel panel)
void Land_Underground_Panel()
void OnPanelUsedSynchronized()
EUndegroundDoorType GetLinkedDoorType()
void OnDoorStateChangedClient(EUndegroundEntranceState newState, EUndegroundEntranceState prevState)
const string SELECTION_NAME_LED_GREEN
const string COLOR_LED_GREEN
static ref set< Land_Underground_Panel > m_Panels
void SetBlinkingTimer(bool enable)
bool m_PanelWasUsed bool m_PanelWasUsedPrev
enum ELEDState m_Entrances
void UpdateLED(string selection, string color)
ELEDState m_LedStateGreen
EffectSound m_ActivationSound
Land_Underground_EntranceBase m_LinkedDoor
Land_Underground_EntranceBase GetClosestDoor()
static void UnregisterEntrance(Land_Underground_EntranceBase entrance)
void SetLEDState(ELEDColors color, ELEDState state)
Land_Underground_EntranceBase GetLinkedDoor()
const string COLOR_LED_RED
ref Timer m_FlipFlopTimer
class JsonUndergroundAreaTriggerData GetPosition
Wrapper class for managing sound through SEffectManager.
bool CanManipulate(Param param=null)
EUndegroundDoorType m_DoorType
void Manipulate(Param param=null)
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
proto native CGame GetGame()