Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _car = _this;
- _red = "#(argb,8,8,3)color(0.2,0.419608,1,1.0,co)";
- _blue = "#(argb,8,8,3)color(0.2,0.419608,1,1.0,co)";
- _orange = "#(argb,8,8,3)color(1,0.501961,0,1.0,CO)";
- _white = "#(argb,8,8,3)color(1,1,1,1.0,CO)";
- _volumeblue = "a3\data_f\lightvolumeside_ca.paa";
- //hiddenSelections[] = {"camo1","red","blue","lock1","lock2","lock3","target1","target2","target3","patrol1","patrol2","patrol3","Beacon1"12,"Beacon2"13};
- //hiddenSelections[] = {"camo1","red","blue","lock1","lock2","lock3","target1","target2","target3","patrol1","patrol2","patrol3","Beacon1"12,"Beacon2"13,"police"14,"stay"15,"back"16};
- _lightstage1 = [[0,_blue],[1,""],[15,""]];
- _lightsBlank = [[0,""],[1,""],[15,""]];
- _lightsBlank2 = [[3,""],[1,""],[15,""]];
- _lightstage2 = [[1,_blue],[0,""],[15,""]];
- _lightsStage3 = [[3,"_blue"],[1,""],[15,""]];
- while{alive _car}do{
- if(_car getVariable ["lightbar",0] == 1)then{
- {
- _car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightstage1;
- _car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightsStage3;
- sleep 0.1;
- {
- _car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightsBlank;
- sleep 0.1;
- {
- _car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightstage1;
- _car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightsBlank2;
- sleep 0.1;
- {
- _car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightsBlank;
- sleep 0.1;
- {
- _car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightstage2;
- _car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightsStage3;
- sleep 0.1;
- {
- _car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightsBlank;
- sleep 0.1;
- {
- _car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightstage2;
- _car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightsBlank2;
- sleep 0.1;
- {
- _car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightsBlank;
- sleep 0.1;
- }elsE{
- {
- _car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightsBlank;
- car setObjectTexture [(_x select 0),(_x select 1)];
- }forEach _lightsBlank2;
- sleep 1;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement