Jump to content

Anteq Iney

Member
  • Content Count

    9
  • Joined

  • Last visited

  • Medals

Everything posted by Anteq Iney

  1. Hello, I need a condition that will check the presence or absence of a mask in inventory or weared My script: if !(('Mask_M40' in (items player)) || ('Mask_M40' in (assigneditems player))) then {}; 'Mask_M40' in (items player) is working 'Mask_M40' in (assigneditems player) Is not working Please help!
  2. Yes, goggles is working, thank you very much!
  3. Hello, What's wrong? Error: https://ibb.co/kBF4Fcd [] spawn { [parseText "<t font='PuristaBold' size='3.6'>My mission</t><br />by my name", true, nil, 7, 1.7, 0] spawn BIS_fnc_textTiles; sleep 30; [[[name VIP,"align = 'left' size = '1' font='PuristaBold'"],[" In the role of VIP","align = 'left' size = '1' font='PuristaBold'","#06db06"]]] spawn BIS_fnc_typeText2; sleep 8; [[[name ks_blue,"align = 'left' size = '1' font='PuristaBold'"],[ In the role of blue commander","align = 'left' size = '1' font='PuristaBold'","#0000FF"]]] spawn BIS_fnc_typeText2; sleep 8; [[["In the role of CIA", "align = 'left' size = '0.5' font='PuristaBold'","#0000FF"], ["","<br/>"], [name agent_1, "align = 'left' size = '0.5' font='PuristaBold'"], ["","<br/>"], [name agent_2, "align = 'left' size = '0.5' font='PuristaBold'"], ["","<br/>"], [name agent_3, "align = 'left' size = '0.5' font='PuristaBold'"], ["","<br/>"], [name agent_4, "align = 'left' size = '0.5' font='PuristaBold'"], ["","<br/>"], [name agent_5, "align = 'left' size = '0.5' font='PuristaBold'"], ["","<br/>"], [name agent_6, "align = 'left' size = '0.5' font='PuristaBold'"]]] spawn BIS_fnc_typeText2; };
  4. Hello, Guys, please help me, i need remove my hold action but i dont know how to use BIS_fnc_holdActionRemove, could you give an example? How to remove it with using BIS_fnc_holdActionRemove? [ _myLaptop, // Object the action is attached to "Hack Laptop", // Title of the action "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa", // Idle icon shown on screen "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa", // Progress icon shown on screen "_this distance _target < 3", // Condition for the action to be shown "_caller distance _target < 3", // Condition for the action to progress {}, // Code executed when action starts {}, // Code executed on every progress tick { _this call MY_fnc_hackingCompleted }, // Code executed on completion {}, // Code executed on interrupted [], // Arguments passed to the scripts as _this select 3 12, // Action duration [s] 0, // Priority true, // Remove on completion false // Show in unconscious state ] remoteExec ["BIS_fnc_holdActionAdd", 0, _myLaptop]; // MP compatible implementation [ player,10 ] call BIS_fnc_holdActionRemove;
  5. Anteq Iney

    BIS_fnc_holdActionRemove

    Thanks, now I understand this syntax
  6. Hello, I made a script that displays the image from a video camera on a billboard , It works on the LAN server, but there is no image on the dedicated server, I need to make that after interacting with the camera, the image appears on the billboard and everyone on the server can see it. In the same time in order not to load the server, the image should be processed not on the server but on the client. If the player has PIP enabled, he should see an image. Please tell me how to do it My script: if (isDedicated) then { [] spawn { cam = "camera" camCreate [0,0,0]; cam cameraEffect ["Internal", "Back", "uavrtt"]; cam camSetFov 0.5; cam attachTo [videoCamera, [0,0,0.8]];"uavrtt" setPiPEffect [0]; waitUntil { sleep 5; ((playerside == Independent) && (antenna inArea main) && (videoCamera inArea radio_zone))}; if ((playerside == Independent) && (antenna inArea main) && (videoCamera inArea radio_zone)) then { [videoCamera,"<t color='#FFAA00'>Turn on camera!</t>", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa", "_this distance _target < 5", "_caller distance _target < 5", {[_target, "cccon",5] spawn CBA_fnc_globalSay3d;}, {}, { showUAVFeed true; bb1 setObjectTexture [0, "#(argb,512,512,1)r2t(uavrtt,1)"]; [] execVM "scripts\voice.sqf"; // Sound }, {}, [], 1, 0, false, false] call BIS_fnc_holdActionAdd; }; }; };
  7. I am doing a multiplayer mission where there are two sides, for the entourage I want to make a video broadcast using camCreate for the players. On a dedicated server, everything works for me, but there is no image on the billboard, how can I fix it? i tried to initialize using isDedicated, !isDedicated, isServer, !isServer but it didn't work anywhere.
  8. Hello, I need a script that will display my holdaction if the player has an item in his inventory. My script that doesn't work: if (playerside == west) then { { [_x,"<t color='#FFAA00'>Remove!</t>", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_unbind_ca.paa", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_unbind_ca.paa", "_this distance _target < 4", "(_caller distance _target < 4) && ("ToolKit" in items _caller)", {[_target, "wire_s",100] spawn CBA_fnc_globalSay3d;}, {}, {deleteVehicle _target;}, {}, [], 9, 0, true, false] call BIS_fnc_holdActionAdd; } forEach wire; }; Arma writes that there is an error in the line: "(_caller distance _target < 4) && ("ToolKit" in items _caller)", Where is the error and why it doesn't work?
×