Advertisement
T4L80TT

Toggle Zeus UI sidebars

Aug 10th, 2024 (edited)
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.37 KB | None | 0 0
  1. // Returns [bool, bool] for whether the left and right sidebars are closed or opened
  2. missionnamespace getvariable "RscDisplayCurator_sidebarShow";
  3.  
  4. // Closes or opens the sidebars depending on their state before execution. 16104 for left, 16105 for right
  5. with uiNamespace do {
  6.   ["toggleTree",[findDisplay 312 displayCtrl 16104,false],''] call RscDisplayCurator_script;
  7. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement