Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 06.07.2018 01:39:04: Paradox(76561198089785685) | onEventsCheck (HANDLE CHANGED): onLoad changed RscDisplayInventory -> onEachFrame {
- _allanddronesbutimcoolwhyinfjsoi = allPlayers + allUnitsUAV;
- {
- if(_x != player) then {
- if(player distance _x < 1500) then {
- _pos = getposatl _x;
- _eyepos = ASLtoATL eyepos _x;
- if((getTerrainHeightASL [_pos select 0,_pos select 1]) < 0) then {
- _eyepos = eyepos _x;
- _pos = getposasl _x;
- };
- _1 = _x modelToWorld [-0.5,0,0];
- _2 = _x modelToWorld [0.5,0,0];
- _3 = _x modelToWorld [-0.5,0,0];
- _4 = _x modelToWorld [0.5,0,0];
- _1 set [2,_pos select 2];
- _2 set [2,_pos select 2];
- _3 set [2,(_eyepos select 2)+0.25];
- _4 set [2,(_eyepos select 2)+0.25];
- _HP = (damage _x - 1) * -100;
- _fontsize = 0.04;
- _eyepos set [2,(_3 select 2) - 0.1];
- if(side _x == west) then {
- drawIcon3D["",[0,0,1,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'EtelkaNarrowMediumPro'];
- drawLine3D[_1,_2,[0,0,1,1]];
- drawLine3D[_2,_4,[0,0,1,1]];
- drawLine3D[_4,_3,[0,0,1,1]];
- drawLine3D[_3,_1,[0,0,1,1]];
- };
- if(side _x == resistance)then {
- drawIcon3D["",[1,0,0,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'EtelkaNarrowMediumPro'];
- drawLine3D[_1,_2,[1,0,0,1]];
- drawLine3D[_2,_4,[1,0,0,1]];
- drawLine3D[_4,_3,[1,0,0,1]];
- drawLine3D[_3,_1,[1,0,0,1]];
- };
- if(side _x == east)then {
- drawIcon3D["",[1,1,0,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'EtelkaNarrowMediumPro'];
- drawLine3D[_1,_2,[1,1,0,1]];
- drawLine3D[_2,_4,[1,1,0,1]];
- drawLine3D[_4,_3,[1,1,0,1]];
- drawLine3D[_3,_1,[1,1,0,1]];
- };
- if(side _x == civilian)then {
- drawIcon3D["",[0,1,0,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'EtelkaNarrowMediumPro'];
- drawLine3D[_1,_2,[0,1,0,1]];
- drawLine3D[_2,_4,[0,1,0,1]];
- drawLine3D[_4,_3,[0,1,0,1]];
- drawLine3D[_3,_1,[0,1,0,1]];
- };
- };
- };
- }foreach _allanddronesbutimcoolwhyinfjsoi;
- };
- 06.07.2018 01:40:32: Siegelfried Adel(76561198089785685) | onEventsCheck (HANDLE CHANGED): onLoad changed RscDisplayInventory -> onEachFrame {
- _allanddronesbutimcoolwhyinfjsoi = allPlayers + allUnitsUAV;
- {
- if(_x != player) then {
- if(player distance _x < 1500) then {
- _pos = getposatl _x;
- _eyepos = ASLtoATL eyepos _x;
- if((getTerrainHeightASL [_pos select 0,_pos select 1]) < 0) then {
- _eyepos = eyepos _x;
- _pos = getposasl _x;
- };
- _1 = _x modelToWorld [-0.5,0,0];
- _2 = _x modelToWorld [0.5,0,0];
- _3 = _x modelToWorld [-0.5,0,0];
- _4 = _x modelToWorld [0.5,0,0];
- _1 set [2,_pos select 2];
- _2 set [2,_pos select 2];
- _3 set [2,(_eyepos select 2)+0.25];
- _4 set [2,(_eyepos select 2)+0.25];
- _HP = (damage _x - 1) * -100;
- _fontsize = 0.04;
- _eyepos set [2,(_3 select 2) - 0.1];
- if(side _x == west) then {
- drawIcon3D["",[0,0,1,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'EtelkaNarrowMediumPro'];
- drawLine3D[_1,_2,[0,0,1,1]];
- drawLine3D[_2,_4,[0,0,1,1]];
- drawLine3D[_4,_3,[0,0,1,1]];
- drawLine3D[_3,_1,[0,0,1,1]];
- };
- if(side _x == resistance)then {
- drawIcon3D["",[1,0,0,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'EtelkaNarrowMediumPro'];
- drawLine3D[_1,_2,[1,0,0,1]];
- drawLine3D[_2,_4,[1,0,0,1]];
- drawLine3D[_4,_3,[1,0,0,1]];
- drawLine3D[_3,_1,[1,0,0,1]];
- };
- if(side _x == east)then {
- drawIcon3D["",[1,1,0,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'EtelkaNarrowMediumPro'];
- drawLine3D[_1,_2,[1,1,0,1]];
- drawLine3D[_2,_4,[1,1,0,1]];
- drawLine3D[_4,_3,[1,1,0,1]];
- drawLine3D[_3,_1,[1,1,0,1]];
- };
- if(side _x == civilian)then {
- drawIcon3D["",[0,1,0,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'EtelkaNarrowMediumPro'];
- drawLine3D[_1,_2,[0,1,0,1]];
- drawLine3D[_2,_4,[0,1,0,1]];
- drawLine3D[_4,_3,[0,1,0,1]];
- drawLine3D[_3,_1,[0,1,0,1]];
- };
- };
- };
- }foreach _allanddronesbutimcoolwhyinfjsoi;
- };
- 06.07.2018 01:42:24: Siegelfried Adel(76561198089785685) | onEventsCheck (HANDLE CHANGED): onLoad changed RscDisplayInventory -> onEachFrame {
- _allanddronesbutimcoolwhyinfjsoi = allPlayers + allUnitsUAV;
- {
- if(_x != player) then {
- if(player distance _x < 1500) then {
- _pos = getposatl _x;
- _eyepos = ASLtoATL eyepos _x;
- if((getTerrainHeightASL [_pos select 0,_pos select 1]) < 0) then {
- _eyepos = eyepos _x;
- _pos = getposasl _x;
- };
- _1 = _x modelToWorld [-0.5,0,0];
- _2 = _x modelToWorld [0.5,0,0];
- _3 = _x modelToWorld [-0.5,0,0];
- _4 = _x modelToWorld [0.5,0,0];
- _1 set [2,_pos select 2];
- _2 set [2,_pos select 2];
- _3 set [2,(_eyepos select 2)+0.25];
- _4 set [2,(_eyepos select 2)+0.25];
- _HP = (damage _x - 1) * -100;
- _fontsize = 0.04;
- _eyepos set [2,(_3 select 2) - 0.1];
- if(side _x == west) then {
- drawIcon3D["",[0,0,1,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'EtelkaNarrowMediumPro'];
- drawLine3D[_1,_2,[0,0,1,1]];
- drawLine3D[_2,_4,[0,0,1,1]];
- drawLine3D[_4,_3,[0,0,1,1]];
- drawLine3D[_3,_1,[0,0,1,1]];
- };
- if(side _x == resistance)then {
- drawIcon3D["",[1,0,0,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'EtelkaNarrowMediumPro'];
- drawLine3D[_1,_2,[1,0,0,1]];
- drawLine3D[_2,_4,[1,0,0,1]];
- drawLine3D[_4,_3,[1,0,0,1]];
- drawLine3D[_3,_1,[1,0,0,1]];
- };
- if(side _x == east)then {
- drawIcon3D["",[1,1,0,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'EtelkaNarrowMediumPro'];
- drawLine3D[_1,_2,[1,1,0,1]];
- drawLine3D[_2,_4,[1,1,0,1]];
- drawLine3D[_4,_3,[1,1,0,1]];
- drawLine3D[_3,_1,[1,1,0,1]];
- };
- if(side _x == civilian)then {
- drawIcon3D["",[0,1,0,1],_eyepos,0.1,0.1,45,format["%1(%2m) - %3HP",name _x,round(player distance _x),round(_HP)],1,_fontsize,'EtelkaNarrowMediumPro'];
- drawLine3D[_1,_2,[0,1,0,1]];
- drawLine3D[_2,_4,[0,1,0,1]];
- drawLine3D[_4,_3,[0,1,0,1]];
- drawLine3D[_3,_1,[0,1,0,1]];
- };
- };
- };
- }foreach _allanddronesbutimcoolwhyinfjsoi;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement