Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- params[
- ["_paramLight",1,[0]],
- ["_AllumageEteignage",1,[0]]
- ];
- switch (_paramLight) do
- {
- case 0:
- {
- light = "#lightpoint" createVehicle [1,0,0];
- light lightAttachObject [Char1,[0.3,2,0]];
- light setLightDayLight true;
- light setLightIntensity 400;
- light setLightFlareSize 5;
- light setLightFlareMaxDistance 500;
- };
- };
- switch (_AllumageEteignage) do
- {
- case 1:
- {
- Allumage = false;
- light setLightColor [0,0,0];
- light setLightAmbient [0,0,0];
- };
- case 2:
- {
- Allumage = true;
- while {Allumage isEqualTo true} do
- {
- //blanc//
- //resipartion 1//
- light setLightColor [0.1,0.1,0.1];
- light setLightAmbient [0.1,0.1,0.1];
- sleep 0.150;
- light setLightColor [0.2,0.2,0.2];
- light setLightAmbient [0.2,0.2,0.2];
- sleep 0.150;
- light setLightColor [0.3,0.3,0.3];
- light setLightAmbient [0.3,0.3,0.3];
- sleep 0.150;
- light setLightColor [0.4,0.4,0.4];
- light setLightAmbient [0.4,0.4,0.4];
- sleep 0.150;
- light setLightColor [0.5,0.5,0.5];
- light setLightAmbient [0.5,0.5,0.5];
- sleep 0.150;
- light setLightColor [0.6,0.6,0.6];
- light setLightAmbient [0.6,0.6,0.6];
- sleep 0.150;
- light setLightColor [0.7,0.7,0.7];
- light setLightAmbient [0.7,0.7,0.7];
- sleep 0.150;
- light setLightColor [0.8,0.8,0.8];
- light setLightAmbient [0.8,0.8,0.8];
- sleep 0.150;
- light setLightColor [0.9,0.9,0.9];
- light setLightAmbient [0.9,0.9,0.9];
- sleep 0.150;
- //respiration 1 fin//
- light setLightColor [1,1,1];
- light setLightAmbient [1,1,1];
- sleep 0.150;
- //respiration 2//
- light setLightColor [0.9,0.9,0.9];
- light setLightAmbient [0.9,0.9,0.9];
- sleep 0.150;
- light setLightColor [0.8,0.8,0.8];
- light setLightAmbient [0.8,0.8,0.8];
- sleep 0.150;
- light setLightColor [0.7,0.7,0.7];
- light setLightAmbient [0.7,0.7,0.7];
- sleep 0.150;
- light setLightColor [0.6,0.6,0.6];
- light setLightAmbient [0.6,0.6,0.6];
- sleep 0.150;
- light setLightColor [0.5,0.5,0.5];
- light setLightAmbient [0.5,0.5,0.5];
- sleep 0.150;
- light setLightColor [0.4,0.4,0.4];
- light setLightAmbient [0.4,0.4,0.4];
- sleep 0.150;
- light setLightColor [0.3,0.3,0.3];
- light setLightAmbient [0.3,0.3,0.3];
- sleep 0.150;
- light setLightColor [0.2,0.2,0.2];
- light setLightAmbient [0.2,0.2,0.2];
- sleep 0.150;
- light setLightColor [0.1,0.1,0.1];
- light setLightAmbient [0.1,0.1,0.1];
- sleep 0.150;
- //rspiration 2 fin//
- //bleu//
- //respiration 1//
- light setLightColor [0,0.1,0.1];
- light setLightAmbient [0,0.1,0.1];
- sleep 0.150;
- light setLightColor [0,0.2,0.2];
- light setLightAmbient [0,0.2,0.2];
- sleep 0.150;
- light setLightColor [0,0.3,0.3];
- light setLightAmbient [0,0.3,0.3];
- sleep 0.150;
- light setLightColor [0,0.4,0.4];
- light setLightAmbient [0,0.4,0.4];
- sleep 0.150;
- light setLightColor [0,0.5,0.5];
- light setLightAmbient [0,0.5,0.5];
- sleep 0.150;
- light setLightColor [0,0.6,0.6];
- light setLightAmbient [0,0.6,0.6];
- sleep 0.150;
- light setLightColor [0,0.7,0.7];
- light setLightAmbient [0,0.7,0.7];
- sleep 0.150;
- light setLightColor [0,0.8,0.8];
- light setLightAmbient [0,0.8,0.8];
- sleep 0.150;
- light setLightColor [0,0.9,0.9];
- light setLightAmbient [0,0.9,0.9];
- sleep 0.150;
- //respiration 1 fin//
- light setLightColor [0,1,1];
- light setLightAmbient [0,1,1];
- sleep 0.150;
- //respiration2//
- light setLightColor [0,0.9,0.9];
- light setLightAmbient [0,0.9,0.9];
- sleep 0.150;
- light setLightColor [0,0.8,0.8];
- light setLightAmbient [0,0.8,0.8];
- sleep 0.150;
- light setLightColor [0,0.7,0.7];
- light setLightAmbient [0,0.7,0.7];
- sleep 0.150;
- light setLightColor [0,0.6,0.6];
- light setLightAmbient [0,0.6,0.6];
- sleep 0.150;
- light setLightColor [0,0.5,0.5];
- light setLightAmbient [0,0.5,0.5];
- sleep 0.150;
- light setLightColor [0,0.4,0.4];
- light setLightAmbient [0,0.4,0.4];
- sleep 0.150;
- light setLightColor [0,0.3,0.3];
- light setLightAmbient [0,0.3,0.3];
- sleep 0.150;
- light setLightColor [0,0.2,0.2];
- light setLightAmbient [0,0.2,0.2];
- sleep 0.150;
- light setLightColor [0,0.1,0.1];
- light setLightAmbient [0,0.1,0.1];
- sleep 0.150;
- //respiration 2 fin//
- //rose//
- //respiration 1//
- light setLightColor [0.1,0,0.1];
- light setLightAmbient [0.1,0,0.1];
- sleep 0.150;
- light setLightColor [0.2,0,0.2];
- light setLightAmbient [0.2,0,0.2];
- sleep 0.150;
- light setLightColor [0.3,0,0.3];
- light setLightAmbient [0.3,0,0.3];
- sleep 0.150;
- light setLightColor [0.4,0,0.4];
- light setLightAmbient [0.4,0,0.4];
- sleep 0.150;
- light setLightColor [0.5,0,0.5];
- light setLightAmbient [0.5,0,0.5];
- sleep 0.150;
- light setLightColor [0.6,0,0.6];
- light setLightAmbient [0.6,0,0.6];
- sleep 0.150;
- light setLightColor [0.7,0,0.7];
- light setLightAmbient [0.7,0,0.7];
- sleep 0.150;
- light setLightColor [0.8,0,0.8];
- light setLightAmbient [0.8,0,0.8];
- sleep 0.150;
- light setLightColor [0.9,0,0.9];
- light setLightAmbient [0.9,0,0.9];
- sleep 0.150;
- //respiration 1 fin//
- light setLightColor [1,0,1];
- light setLightAmbient [1,0,1];
- sleep 0.150;
- //respiration 2//
- light setLightColor [0.9,0,0.9];
- light setLightAmbient [0.9,0,0.9];
- sleep 0.150;
- light setLightColor [0.8,0,0.8];
- light setLightAmbient [0.8,0,0.8];
- sleep 0.150;
- light setLightColor [0.7,0,0.7];
- light setLightAmbient [0.7,0,0.7];
- sleep 0.150;
- light setLightColor [0.6,0,0.6];
- light setLightAmbient [0.6,0,0.6];
- sleep 0.150;
- light setLightColor [0.5,0,0.5];
- light setLightAmbient [0.5,0,0.5];
- sleep 0.150;
- light setLightColor [0.4,0,0.4];
- light setLightAmbient [0.4,0,0.4];
- sleep 0.150;
- light setLightColor [0.3,0,0.3];
- light setLightAmbient [0.3,0,0.3];
- sleep 0.150;
- light setLightColor [0.2,0,0.2];
- light setLightAmbient [0.2,0,0.2];
- sleep 0.150;
- light setLightColor [0.1,0,0.1];
- light setLightAmbient [0.1,0,0.1];
- sleep 0.150;
- //respiration 2 fin //
- //jaune//
- //respiration 1//
- light setLightColor [0.1,0.1,0];
- light setLightAmbient [0.1,0.1,0];
- sleep 0.150;
- light setLightColor [0.2,0.2,0];
- light setLightAmbient [0.2,0.2,0];
- sleep 0.150;
- light setLightColor [0.3,0.3,0];
- light setLightAmbient [0.3,0.3,0];
- sleep 0.150;
- light setLightColor [0.4,0.4,0];
- light setLightAmbient [0.4,0.4,0];
- sleep 0.150;
- light setLightColor [0.5,0.5,0];
- light setLightAmbient [0.5,0.5,0];
- sleep 0.150;
- light setLightColor [0.6,0.6,0];
- light setLightAmbient [0.6,0.6,0];
- sleep 0.150;
- light setLightColor [0.7,0.7,0];
- light setLightAmbient [0.7,0.7,0];
- sleep 0.150;
- light setLightColor [0.8,0.8,0];
- light setLightAmbient [0.8,0.8,0];
- sleep 0.150;
- light setLightColor [0.9,0.9,0];
- light setLightAmbient [0.9,0.9,0];
- sleep 0.150;
- //respiration 1 fin//
- light setLightColor [1,1,0];
- light setLightAmbient [1,1,0];
- sleep 0.150;
- //respiration 2//
- light setLightColor [0.9,0.9,0];
- light setLightAmbient [0.9,0.9,0];
- sleep 0.150;
- light setLightColor [0.8,0.8,0];
- light setLightAmbient [0.8,0.8,0];
- sleep 0.150;
- light setLightColor [0.7,0.7,0];
- light setLightAmbient [0.7,0.7,0];
- sleep 0.150;
- light setLightColor [0.6,0.6,0];
- light setLightAmbient [0.6,0.6,0];
- sleep 0.150;
- light setLightColor [0.5,0.5,0];
- light setLightAmbient [0.5,0.5,0];
- sleep 0.150;
- light setLightColor [0.4,0.4,0];
- light setLightAmbient [0.4,0.4,0];
- sleep 0.150;
- light setLightColor [0.3,0.3,0];
- light setLightAmbient [0.3,0.3,0];
- sleep 0.150;
- light setLightColor [0.2,0.2,0];
- light setLightAmbient [0.2,0.2,0];
- sleep 0.150;
- light setLightColor [0.1,0.1,0];
- light setLightAmbient [0.1,0.1,0];
- sleep 0.150;
- //respiration 2 fin//
- //rouge//
- //respiration 1//
- light setLightColor [0.1,0,0];
- light setLightAmbient [0.1,0,0];
- sleep 0.150;
- light setLightColor [0.2,0,0];
- light setLightAmbient [0.2,0,0];
- sleep 0.150;
- light setLightColor [0.3,0,0];
- light setLightAmbient [0.3,0,0];
- sleep 0.150;
- light setLightColor [0.4,0,0];
- light setLightAmbient [0.4,0,0];
- sleep 0.150;
- light setLightColor [0.5,0,0];
- light setLightAmbient [0.5,0,0];
- sleep 0.150;
- light setLightColor [0.6,0,0];
- light setLightAmbient [0.6,0,0];
- sleep 0.150;
- light setLightColor [0.7,0,0];
- light setLightAmbient [0.7,0,0];
- sleep 0.150;
- light setLightColor [0.8,0,0];
- light setLightAmbient [0.8,0,0];
- sleep 0.150;
- light setLightColor [0.9,0,0];
- light setLightAmbient [0.9,0,0];
- sleep 0.150;
- //respiation 1 fin//
- light setLightColor [1,0,0];
- light setLightAmbient [1,0,0];
- sleep 0.150;
- //respiration 2//
- light setLightColor [0.9,0,0];
- light setLightAmbient [0.9,0,0];
- sleep 0.150;
- light setLightColor [0.8,0,0];
- light setLightAmbient [0.8,0,0];
- sleep 0.150;
- light setLightColor [0.7,0,0];
- light setLightAmbient [0.7,0,0];
- sleep 0.150;
- light setLightColor [0.6,0,0];
- light setLightAmbient [0.6,0,0];
- sleep 0.150;
- light setLightColor [0.5,0,0];
- light setLightAmbient [0.5,0,0];
- sleep 0.150;
- light setLightColor [0.4,0,0];
- light setLightAmbient [0.4,0,0];
- sleep 0.150;
- light setLightColor [0.3,0,0];
- light setLightAmbient [0.3,0,0];
- sleep 0.150;
- light setLightColor [0.2,0,0];
- light setLightAmbient [0.2,0,0];
- sleep 0.150;
- light setLightColor [0.1,0,0];
- light setLightAmbient [0.1,0,0];
- sleep 0.150;
- //respiration 2 fin//
- //vert//
- //respiration 1//
- light setLightColor [0,0.1,0];
- light setLightAmbient [0,0.1,0];
- sleep 0.150;
- light setLightColor [0,0.2,0];
- light setLightAmbient [0,0.2,0];
- sleep 0.150;
- light setLightColor [0,0.3,0];
- light setLightAmbient [0,0.3,0];
- sleep 0.150;
- light setLightColor [0,0.4,0];
- light setLightAmbient [0,0.4,0];
- sleep 0.150;
- light setLightColor [0,0.5,0];
- light setLightAmbient [0,0.5,0];
- sleep 0.150;
- light setLightColor [0,0.6,0];
- light setLightAmbient [0,0.6,0];
- sleep 0.150;
- light setLightColor [0,0.7,0];
- light setLightAmbient [0,0.7,0];
- sleep 0.150;
- light setLightColor [0,0.8,0];
- light setLightAmbient [0,0.8,0];
- sleep 0.150;
- light setLightColor [0,0.9,0];
- light setLightAmbient [0,0.9,0];
- sleep 0.150;
- //respiration 1 fin//
- light setLightColor [0,1,0];
- light setLightAmbient [0,1,0];
- sleep 0.150;
- //respiration 2//
- light setLightColor [0,0.9,0];
- light setLightAmbient [0,0.9,0];
- sleep 0.150;
- light setLightColor [0,0.8,0];
- light setLightAmbient [0,0.8,0];
- sleep 0.150;
- light setLightColor [0,0.7,0];
- light setLightAmbient [0,0.7,0];
- sleep 0.150;
- light setLightColor [0,0.6,0];
- light setLightAmbient [0,0.6,0];
- sleep 0.150;
- light setLightColor [0,0.5,0];
- light setLightAmbient [0,0.5,0];
- sleep 0.150;
- light setLightColor [0,0.4,0];
- light setLightAmbient [0,0.4,0];
- sleep 0.150;
- light setLightColor [0,0.3,0];
- light setLightAmbient [0,0.3,0];
- sleep 0.150;
- light setLightColor [0,0.2,0];
- light setLightAmbient [0,0.2,0];
- sleep 0.150;
- light setLightColor [0,0.1,0];
- light setLightAmbient [0,0.1,0];
- sleep 0.150;
- //respiration 2 fin//
- //mauve//
- //respiration 1//
- light setLightColor [0,0,0.1];
- light setLightAmbient [0,0,0.1];
- sleep 0.150;
- light setLightColor [0,0,0.2];
- light setLightAmbient [0,0,0.2];
- sleep 0.150;
- light setLightColor [0,0,0.3];
- light setLightAmbient [0,0,0.3];
- sleep 0.150;
- light setLightColor [0,0,0.4];
- light setLightAmbient [0,0,0.4];
- sleep 0.150;
- light setLightColor [0,0,0.5];
- light setLightAmbient [0,0,0.5];
- sleep 0.150;
- light setLightColor [0,0,0.6];
- light setLightAmbient [0,0,0.6];
- sleep 0.150;
- light setLightColor [0,0,0.7];
- light setLightAmbient [0,0,0.7];
- sleep 0.150;
- light setLightColor [0,0,0.8];
- light setLightAmbient [0,0,0.8];
- sleep 0.150;
- light setLightColor [0,0,0.9];
- light setLightAmbient [0,0,0.9];
- sleep 0.150;
- //respiration 1 fin//
- light setLightColor [0,0,1];
- light setLightAmbient [0,0,1];
- sleep 0.150;
- //respiration 2//
- light setLightColor [0,0,0.9];
- light setLightAmbient [0,0,0.9];
- sleep 0.150;
- light setLightColor [0,0,0.8];
- light setLightAmbient [0,0,0.8];
- sleep 0.150;
- light setLightColor [0,0,0.7];
- light setLightAmbient [0,0,0.7];
- sleep 0.150;
- light setLightColor [0,0,0.6];
- light setLightAmbient [0,0,0.6];
- sleep 0.150;
- light setLightColor [0,0,0.5];
- light setLightAmbient [0,0,0.5];
- sleep 0.150;
- light setLightColor [0,0,0.4];
- light setLightAmbient [0,0,0.4];
- sleep 0.150;
- light setLightColor [0,0,0.3];
- light setLightAmbient [0,0,0.3];
- sleep 0.150;
- light setLightColor [0,0,0.2];
- light setLightAmbient [0,0,0.2];
- sleep 0.150;
- light setLightColor [0,0,0.1];
- light setLightAmbient [0,0,0.1];
- sleep 0.150;
- //respiration 2 fin//
- };
- };
- default
- {
- };
- };
- setPilotLight
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement