Diabolical1001
Member-
Content Count
26 -
Joined
-
Last visited
-
Medals
-
Medals
Community Reputation
10 GoodAbout Diabolical1001
-
Rank
Private First Class
-
Define Unit by Clothing
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I said it before and ill say it again, thanks for your time Iceman77. would have been lost otherwise -
Define Unit by Clothing
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
how about performance wise, it will be going into a large scale tvt gamemode -
Define Unit by Clothing
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
ok the pilot side of things are working, i decided i didnt want to use an eventhandler. so i ended up using the older code you had put up waitUntil {!isNull player}; _aircraft = ["B_Heli_Light_01_F"]; while {true} do { if (driver vehicle player == player && {typeOf vehicle player in _aircraft}) then { if (headGear player != "H_PilotHelmetFighter_B" || {uniform player != "U_B_PilotCoveralls"}) then { player action ["eject", vehicle player]; }; }; sleep 1; }; now i want to move onto the vehicles (apc's, tanks, etc) and also, i dont know how to implement the turret restriction with this one? -
Define Unit by Clothing
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
nope, i added it, looks identical to what you put up ;) -
Define Unit by Clothing
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
to stop the copilot exploit i just add the turret to the script as well -
Define Unit by Clothing
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
ok then, thanks a million for the help, ill go test this stuff now and come back with my findings -
Define Unit by Clothing
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
ok. hopefully my last question before i test this fully were it states (uniform player != "U_B_PilotCoveralls" does that only define the clothing of the player or can it also be use to define lets say a helmet of a player? -
Define Unit by Clothing
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
so say i wanted to make this work with class names would i go _aircraft = ["heloclassname"]; waitUntil {player == player}; if (uniform player != "pilot_uniform_name" && {driver _aircraft == player}) then { player action ["eject", _aircraft]; }; as ive said, pretty fresh to all of this -
Define Unit by Clothing
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
i assume if im correct that were it states {driver theHelo == player}) theHelo = the name of the the aircraft not the class?. there you go, you can use sarcasm on my newbie questions. just here to learn -
Define Unit by Clothing
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
ok i think i get it, will test and come here if any problems, or if i get it working ill post it up -
Define Unit by Clothing
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
not really one to bump, but maybe some fresh eyes have the answer -
GUI background texture/paa
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
what i did was replace the background with a picture class, then text= etcetc. seems to be working -
Hello again all was just wondering how one would go about changing a gui background from a color to a texture, and if so are there any limitations on file sizes and such? idc = -1; x = -28.5 * GUI_GRID_W + GUI_GRID_X; y = -10.5 * GUI_GRID_H + GUI_GRID_Y; w = 28.5 * GUI_GRID_W; h = 45.5 * GUI_GRID_H; colorBackground[] = ?????? i tryed just directing the color background to the paa but when i load up the mission the background is white ---------- Post added at 03:15 ---------- Previous post was at 01:35 ---------- Just got it to work fine with a picture frame, just not the background?
-
Gunner and commander cannot enter vehicle without driver script?
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thanks ill give that a go -
Gunner and commander cannot enter vehicle without driver script?
Diabolical1001 replied to Diabolical1001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
this has got me stuck, if i could fin a way in were if your in the drivers seat it would disable the option to move to commander and gunner it would be fine