DayZ 1.24
Loading...
Searching...
No Matches
Land_Underground_Panel_Lever.c
Go to the documentation of this file.
1class Land_Underground_Panel_Lever : Land_Underground_Panel
2{
3 override void SetActions()
4 {
5 super.SetActions();
6
8 }
9
11 {
12 target.SetAnimationPhaseNow("PanelLever", 0);
13 }
14
16 {
17 super.OnPanelUsedSynchronized();
18 SetAnimationPhase("PanelLever", 1);
19 GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(ResetPhase, 3000, false, this);
21 }
22
23 override void Interact()
24 {
25 super.Interact();
26 GetGame().RegisterNetworkStaticObject(this);
27 GetGame().RegisterNetworkStaticObject(GetLinkedDoor());
28 }
29}
void AddAction(typename actionName)
void OnLEDStateChanged()
Land_Underground_EntranceBase GetLinkedDoor()
proto native CGame GetGame()
const int CALL_CATEGORY_SYSTEM
Definition tools.c:8