actionoperatepanel.c 459 B

1234567891011121314151617181920
  1. class ActionOperatePanel: ActionInteractBase
  2. {
  3. void ActionOperatePanel()
  4. {
  5. m_CommandUID = DayZPlayerConstants.CMD_ACTIONMOD_OPENDOORFW;
  6. m_StanceMask = DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT;
  7. m_Text = "#STR_switch";
  8. }
  9. override void CreateConditionComponents()
  10. {
  11. m_ConditionItem = new CCINone();
  12. m_ConditionTarget = new CCTCursor();
  13. }
  14. override bool IsLockTargetOnUse()
  15. {
  16. return false;
  17. }
  18. }