Mathieu Trudel
Member-
Content Count
6 -
Joined
-
Last visited
-
Medals
Community Reputation
0 NeutralAbout Mathieu Trudel
-
Rank
Rookie
-
[Solved] Restrict looting of only one faction's corpses?
Mathieu Trudel replied to Rawshark's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Well hello , I like all of those scrips, but if you can help I'm a bit confused.. I'm have a MP game NO AI PVP only, and want them to be able to loot only weapon , and ammo regardeless of the team side.. But i dont want them to loot the gear( uniform, headgear, vest, binocular etc..) can you plz help me to create that script ? -
Disable looting gear from corpses
Mathieu Trudel replied to soundblaster's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hello Bnae, this script is very nice to what I need!!! Is there a way to make the headgear, and clothing to be not lootable and keep the ammo and weapon to BE lootable ?? i have tried this but failed .. : player addMPEventHandler ["MPKilled",{_unit = _this select 0; removeAllHeadgears _unit; removeAllClothings _unit; clearMagazineCargo _unit}]; thx -
Delete item when drop
Mathieu Trudel replied to djdan9741's topic in ARMA 3 - MISSION EDITING & SCRIPTING
nice code ; thx !! question were do I put this ?? in the Init of the player ? or in the mission folder?? I have tried in the init of player, I take gear form a box and it still drop it on the floor .... Help plz -
im trying this : chopper1 addEventHandler ["GetIn", { _vehicle = _this select 0; _seat = _this select 1; _unit = _this select 2; _pilotSeats = [ "driver", "gunner" ]; _pilotUniforms = [ "U_B_HeliPilotCoveralls", "U_O_PilotCoveralls" ]; _pilotHelmets = [ "H_PilotHelmetHeli_B", "H_PilotHelmetHeli_O" ]; if( ( _seat in _pilotSeats ) ) then { if( !( ( uniform _unit ) in _pilotUniforms ) || !( ( headgear _unit ) in _pilotHelmets ) ) then { _unit action [ "eject", _vehicle ]; }; }; } ]; but it not working ..
-
thx to all !! I'm looking for a script / add action or something to : what ever loadout the players will take ( in Mp on a private server ) , once they enter a helo, or a tank in driver copilot, commander and gunner, they automaticly get a loadout i've made .. It would be simpler for what i need. I have tried a add action, but Its not automatic, .. OR maybe just, In the Init of the vech, taht the player need the proper headgear of be eject ?? it that possibe ?? I'm sure it is it ARMA !!:P thx again with my struggling
-
Mathieu Trudel started following only pilots fly
-
Hi guys im late in the conversation but I have a issue.. I have made a AddRespawnInventory in my InitServer.sqf, ANd I'm trying to block all loudout that are not Pilot or crewmen to get in those type of vih... I understand the script Of NIKANDER, but since my loadout are made from ONE class( In my eden, all my players have the same unit to start then chose from loadout menu a class that I have made up ) this script dosent give me the right path to my loadout.. Her some example : _trig = createTrigger ["EmptyDetector",[0, 0, 0],false]; _trig setTriggerStatements [ "vehicle player isKindOf 'Air'", "if (!(player isKindOf ["TFC_C_Soldier_Aircrew_Pilot_Helo_TW_F", configFile >> "call BIS_Fnc_addRespawnInventory"];) && {assignedVehicleRole player in [['driver'],['Turret',[0]]]}) then {moveOut player}", "" ]; this is in my : InitServer.sqf [resistance,"TFC_C_Soldier_Tunic_Crewman_TW_F"] call BIS_Fnc_addRespawnInventory; [resistance,"TFC_C_Soldier_Aircrew_Pilot_Helo_TW_F"] call BIS_Fnc_addRespawnInventory; [resistance,"TFC_C_Soldier_Tunic_Marksman_TW_F"] call BIS_Fnc_addRespawnInventory; [resistance,"TFC_C_Soldier_OTW_Rifleman_Lite_TW_F"] call BIS_Fnc_addRespawnInventory; [resistance,"TFC_C_Soldier_Tunic_Grenadier_TW_F"] call BIS_Fnc_addRespawnInventory; [resistance,"TFC_C_Soldier_OTW_C6_TW_F"] call BIS_Fnc_addRespawnInventory; If someone understand plz help