Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

z_arma

Member
  • Content Count

    3
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About z_arma

  • Rank
    Rookie
  1. I try it in OA. The respawn body appears in bottom left map without weapons. I have fix this bug. Madbull can u contact me to send u the fixed version ?
  2. Hello, I want to copy some information in the clipboard. I use the copytoClipboard function. When i paste in notepad i have a single line, i want to have a return line sometimes. I want to know how to have return line ? \n or something like that. have u some sample code ? thanks
  3. Hi all, I want to use a trigger as a parameter to a checktrigger.sqf file. In checktrigger.sqf how can i read the trigger name ? The caller function testmarker.sqf { _mk = _x ; _mk setMarkerShapeLocal "ELLIPSE"; _mk setMarkerSizeLocal [350, 350]; _mk setMarkerColorLocal "ColorRed"; _mk setMarkerTextLocal _mk; _mpos = markerPos _mk; call compile format["ok%1=false",_x]; call compile format["t%1=createTrigger['EmptyDetector',_mpos]",_x]; call compile format["t%1 setTriggerArea [350, 350, 0, false]",_x]; call compile format["t%1 setTriggerActivation ['WEST', 'PRESENT', true]",_x]; call compile format["t%1 setTriggerStatements['this', 'xhandle = [this] execVM ''checktrigger.sqf'';', 'ok%1=false']",_x]; [(side player),"HQ"] sidechat format["%1 ",_x]; } forEach markers; Now the checktrigger.sqf _trigger = _this select 0; // marqueur associé au trigger _who = list _trigger; // qui entre [(side player),"HQ"] sidechat format["trigger : %1 who : %2 ", _trigger,_who select 1]; if (true) exitWith {}; The result in checktrigger function is for _trigger "ANY" when i want to have the trigger. What is wrong ?
×