cTab_markerMenu_load.sqf 838 B

1234567891011121314151617181920212223242526272829
  1. // cTab - Commander's Tablet with FBCB2 Blue Force Tracking
  2. // Battlefield tablet to access real time intel and blue force tracker.
  3. // By - Riouken
  4. // http://forums.bistudio.com/member.php?64032-Riouken
  5. // You may re-use any of this work as long as you provide credit back to me.
  6. disableSerialization;
  7. #include "\ClonecTab\shared\cTab_gui_macros.hpp"
  8. cTabUserSelIcon = [[],0,0,0,""];
  9. _mainPop = _this select 0;
  10. _sendingCtrlArry = _this select 1;
  11. _cntrlScreen = _sendingCtrlArry select 0;
  12. _xpos = _sendingCtrlArry select 2;
  13. _ypos = _sendingCtrlArry select 3;
  14. cTabUserPos = [_xpos,_ypos];
  15. _tempWorldPos = _cntrlScreen posScreenToWorld [_xpos,_ypos];
  16. cTabUserSelIcon set [0,[_tempWorldPos select 0,_tempWorldPos select 1]];
  17. _time = call cTab_fnc_currentTime;
  18. cTabUserSelIcon set [4,_time];
  19. [_mainPop] call cTab_fnc_userMenuSelect;