3 private const float REPEAT_AFTER_SEC = 0.5;
5 override void CreateActionComponent()
19 m_Text =
"#dial_combination_lock";
41 m_Text =
"#dial_combination_lock " + constructionActionData.GetDialNumberText();
46 if (!target.GetObject())
50 if (lock && lock.GetHierarchyParent() && Fence.Cast(lock.GetHierarchyParent()))
53 constructionActionData.SetCombinationLock(lock);
65 CombinationLock combination_lock = constructionActionData.GetCombinationLock();
68 combination_lock.DialNextNumber();
71 if (!combination_lock.IsLockedOnGate())
74 combination_lock.UnlockServer(action_data.m_Player, target_entity.GetHierarchyParent());