Timmy_kirton
Well-Known Member
Hi guys i was just thinking is it possible to have a few pics that get selected at random each time someone loads the game any help would be great
loadScreen = "random.sqf";
["loadScreen = "test1.jpg"","loadScreen = "test2.jpg"","loadScreen = "test3.jpg""] call BIS_fnc_selectRandom;
I will get on it ASAP once im back from school. I'm aswell very excited if this works.I have no idea I haven't had time to test it as it isn't one of my prioritys atm nor do I care about multi-custom loads careens and with exams and shit coming up soon I have no time ;( . But I have been really eager to know if it works or not definitely reply on this thread if it works.
try this
loadScreen = __EVAL(["test2.jpg", "test1.jpg", "test.jpg"] select floor random 3);
startLoadingScreen ["","RscDisplayLoadCustom"];
_var = random 1;
if (_var < 0.20) then {
loadScreen = "loadsc\1.jpg";
} else {
if (_var < 0.40 and _var > 0.20) then {
loadScreen = "loadsc\2.jpg";
} else {
if (_var > 0.40 and _var < 0.60) then {
loadScreen = "loadsc\3.jpg";
} else {
if (_var > 0.60 and _var < .80) then {
loadScreen = "loadsc\4.jpg";
} else {
if (_var > 0.80 and _var < 1) then {
loadScreen = "loadsc\5.jpg";
};
};
};
};
};
};
};
};
};
};