Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _inc = 0;
- _count = 0;
- _targets = [pt1, pt1_1, pt1_2, pt1_3, pt1_4, pt1_5, pt1_6, pt1_7, pt1_8, pt1_9, pt1_10, pt1_11, pt1_12];
- _many = count _targets;
- {_x animate["terc",1]} forEach _targets;
- hint "Welcome to Avery's Rifle Qualification Range";
- sleep 5;
- hint "Setting up the Range";
- sleep 3;
- hint "The Qualification Course will begin in 10 Seconds";
- sleep 2;
- hint "The Qualification Course will begin in 8 Seconds";
- sleep 2;
- hint "The Qualification Course will begin in 6 Seconds";
- sleep 2;
- hint "The Qualification Course will begin in 4 Seconds";
- sleep 2;
- hint "The Qualification Course will begin in 2 Seconds";
- sleep 2;
- hint "Begin!";
- while {_inc<20} do
- {
- _rnumber = floor random _many;
- _rtarget = _targets select _rnumber;
- _rtarget animate["terc", 0];
- sleep 6;
- if (_rtarget animationPhase "terc" > 0.1) then
- {
- _count = _count+1;
- };
- hint format ["Targets :%1 Hit :%2",_inc+1,_count];
- _rtarget animate["terc", 1];
- _inc = _inc + 1;
- };
- sleep 8;
- hint "Session Complete,";
- sleep5;
- if (_count >= 19) then {hint "You Scored MARKSMAN";};
- if (_count <= 18) then {hint "You Scored RIFLEMAN";};
- if (_count <= 15) then {hint "You Scored GRUNT";};
- if (_count <= 9) then {hint "You Scored TRUCK DRIVER";};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement