; Note: These are parts from an init.sqs I used... 
; it works together with the description.ext in this folder.
; If you use these two, you also need the gamedifficulty.sqs in this folder 
; and do not put a gamedifficulty-gl in the map-editor.


;[] exec "intro.sqs"

0.0001 setovercast 0.69;
0.0001 setrain 0;
setviewdistance 1000;


? (param2 ==1): zchallenge=1;
? (param2 ==2): zchallenge=2;
? (param2 ==3): zchallenge=3;
? (param2 ==4): zchallenge=4;

[] exec "gamedifficulty.sqs";

? (param1 ==1): [] exec "\pepzombies\zinfection.sqs";
? (param1 ==2): [] exec "\pepzombies\zinfection.sqs"; 
? (param1 ==4): [] exec "\pepzombies\hstatus.sqs";


;playunits = [p1,p2,p3,p4,p5,p6,p7,p8,p9];
;pcount=("Alive _x" Count playunits)

;[] exec "playertargets.sqs"


;@ introready
~2
? (param1 ==2): [] exec "\pepzombies\hstatus.sqs";

exit