Code:
if((random 2)>=1) then {
playsound "introSong";
} else {
playsound "introSong1";
};
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
if((random 2)>=1) then {
playsound "introSong";
} else {
playsound "introSong1";
};
switch (floor(random 3)) do {
case 0: {playsound "introSong";
};
case 1: {playsound "introSong1";
};
case 2: {playsound "introSong2";
};
};
_welcomeMessage = format["Welcome to the Insidious Dominance server %1, follow the server rules and have some fun.",format["%1", name player]];
_camDistance = floor(random 20)+20;
_rnd0 = floor(random 50)-25;
_rnd1 = floor(random 50);
waitUntil {!isNil "dayz_animalCheck"};
playsound "introSong";
/*
if((random 2)>=1) then {
playsound "introSong";
} else {
playsound "introSong1";
};
*/
/*
//intro move
showCinemaBorder true;
camUseNVG false;
_camera = "camera" camCreate [(position player select 0)+_rnd0, (position player select 1)+_rnd1,(position player select 2)+_camDistance];
_camera cameraEffect ["internal","back"];
_camera camSetFOV 2.000;
_camera camCommit 0;
waitUntil {camCommitted _camera};
_camera camSetTarget vehicle player;
_camera camSetRelPos [0,0,2];
_camera camCommit 8;
*/
player switchMove "AidlPpneMstpSnonWnonDnon_SleepC_sleep";
sleep 2;
if !(dayzPlayerLogin2 select 2) then {
cutText [_welcomeMessage, "PLAIN DOWN"];
} else {
[] spawn {
cutText ["This server is a streamer friendly server No steam sniping", "PLAIN"];
sleep 8;
cutText ["No vehicle hoarding.", "PLAIN"];
sleep 8;
cutText ["Server Rules: Be polite in side chat. No Cry Babies.", "PLAIN"];
sleep 8;
};
};
sleep 5;
player switchMove "AidlPpneMstpSnonWnonDnon_SleepC_standUp";
/*
waitUntil {camCommitted _camera};
_camera cameraEffect ["terminate","back"];
camDestroy _camera;
*/