Tochka-U
Member-
Content Count
5 -
Joined
-
Last visited
-
Medals
Everything posted by Tochka-U
-
I made a script which attaches an object to the to the player who interacts with the object through Hold action, but I want the object to detach and "reset" (Be able to be picked up again with the same hold action) if the carrying player dies. This is what I'm using to attach the object to the player: [ Package, //Package being the object "Grab the package", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa", "_this distance _target < 2", "_caller distance _target < 2", {}, {}, {Package attachTo [_caller,[-0.23,-0.16,0],"Spine3",true];}, {}, [], 3, 1, true, false ] remoteExec ["BIS_fnc_holdActionAdd", 0, package]; I've tried assigning the player who picks up the object a unique Variable name but couldn't figure it out. Also thought about using the Attached and Killed EH but I don't know how to work with EH.
-
help Applying a custom texture to every vehicle of a certain class in mission
Tochka-U posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
So I want to make a script that checks the mission every set amount of time (30 seconds??) for new vehicles of a certain class and then applies a custom texture to those specific vehicles. I'm at beginner level and I really want to make this work. this what I've managed to make so far: { while {true} do { private _VicData = []; //Array made of all vehicles in the mission by class _VicData resize (count vehicles); for "_i" from 0 to (count vehicles) -1 do { _VicData set [_i, typeof (vehicles select _i)]; }; switch (true) do { case (_x iskindof "BWA3_Leopard2_Fleck") : { _x setObjectTextureGlobal [0, "files\FinTex\FDF_MBT.paa"]; }; case (_x iskindof "BWA3_Puma_Fleck") : { _x setObjectTextureGlobal [0, "files\FinTex\FDF_IFV.paa"]; }; case (_x iskindof "B_T_APC_Wheeled_01_cannon_F") : { _x setObjectTextureGlobal [0, "files\FinTex\FDF_APC.paa"]; }; case (_x iskindof "Fennek_Flektarn") : { _x setObjectTextureGlobal [0, "files\FinTex\FDF_MRAP.paa"]; }; case (_x iskindof "Fennek_Flektarn_HMG") : { _x setObjectTextureGlobal [0, "files\FinTex\FDF_MRAP.paa"]; }; case (_x iskindof "Fennek_Flektarn_GMG") : { _x setObjectTextureGlobal [0, "files\FinTex\FDF_MRAP.paa"]; }; case (_x iskindof "O_Truck_02_covered_F") : { _x setObjectTextureGlobal [0, "files\FinTex\FDF_Truck_01.paa"]; _x setObjectTextureGlobal [1, "files\FinTex\FDF_Truck_02.paa"]; }; case (_x iskindof "UK3CB_AAF_B_Gripen_G") : { _x setObjectTextureGlobal [0, "files\FinTex\FDF_Jet.paa"]; }; case (_x iskindof "ffaa_ea_ef18m") : { _x setObjectTextureGlobal [0, "files\FinTex\FDF_F18_01.paa"]; _x setObjectTextureGlobal [1, "files\FinTex\FDF_F18_02.paa"]; }; case (_x iskindof "BWA3_NH90_TTH_Fleck") : { _x setObjectTextureGlobal [0, "files\FinTex\FDF_Heli_01.paa"]; _x setObjectTextureGlobal [1, "files\FinTex\FDF_Heli_02.paa"]; }; case (_x iskindof "BWA3_NH90_TTH_M3M_Fleck") : { _x setObjectTextureGlobal [0, "files\FinTex\FDF_Heli_01.paa"]; _x setObjectTextureGlobal [1, "files\FinTex\FDF_Heli_02.paa"]; }; } foreach _VicData; sleep 30; } }; //didnt work for me -
An image of the probelm , not much to explain, fast traveled to the safe house at 070-097 walked out and saw a 2 man patrol both of them wearing AAF gear
-
Teleport that fades into black and out
Tochka-U posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
So i want some players to get into a boat drive it a bit forward and then the screen fades to black, it teleports them and it fades out with them continuing to drive, sort of a seamless teleport. I tried this script that i made (im very much a starter with scripting): -
Player falling down into prone position instead of playing animation
Tochka-U posted a topic in ARMA 3 - EDEN EDITOR
so i want to make a small brief session where the players are in a static c-130 (the cup object) and can only move their head (il appreciate if you can help me with that as well) and when they are in an animation but when i start the mission the player just falls into prone position instead of actually playing the animation ive tried to change the "switchmove" command to "playmove"/"playmovenow" (idk if that even should work) so anyway please help