addMissionEventHandler ['Draw3D', { drawIcon3D ['targetIcon.paa', [1,1,1,1], ASLToAGLgetPosASLcursorTarget, 1, 1, 45, 'Target', 1, 0.05, 'TahomaB'];}];
addMissionEventHandler ['Draw3D', { drawIcon3D [', [1,0,0,1], ASLToAGLgetPosASLcursorTarget, 0, 0, 0, 'Target', 1, 0.05, 'PuristaMedium'];}];
['uniqueID', 'onEachFrame', { drawIcon3D['myIcon.jpg', [1,1,1,0.5], getPos player, 1, 1, 0, format['%1n%2', 'Dreaded', 'Entity']];}] call BIS_fnc_addStackedEventHandler;
Shown text will be DreadednEntity. (A3 1.32.127785)['uniqueID', 'onEachFrame', { drawIcon3D [ 'myIcon.jpg', [1,1,1,0.5], getPos player, 1, 1, 0, parseText format['<t size='1.25' font='PuristaLight' color='#ff0000'>%1%2</t>', Dreaded, Entity] ];}] call BIS_fnc_addStackedEventHandler;
(A3 1.32.127785)DEADPILOTS = [];{ if (getText (configfile >> 'CfgVehicles' >> typeOf _x >> 'textSingular') 'pilot') then { DEADPILOTS pushBack _x; };} forEach allDeadMen;addMissionEventHandler ['Draw3D', { if ( { player distance _x <= 15 } count DEADPILOTS > 0 ) then { { _corpsePos = getPos _x; if (player distance _corpsePos <= 15) then { _line1_start = _corpsePos; _line1_end = [(_line1_start select 0), (_line1_start select 1), 0.5]; _line2_start = [(_line1_end select 0), (_line1_end select 1) + 0.5, (_line1_end select 2)]; drawLine3D [_line1_start, _line1_end, [0,0,0,0.5]]; drawLine3D [_line1_end, _line2_start, [0,0,0,0.5]]; drawIcon3D ['a3ui_fdataguicfghintsBasicLook_ca.paa', [0,0,0,0.5], _line2_start, 0.75, 0.75, 0]; }; } forEach DEADPILOTS; };}];
addMissionEventHandler ['Draw3D', {
_pos = getPosWorld player;
drawIcon3D ['a3ui_fdataguiRscRscDisplayArsenalradio_ca.paa', [1,1,1,1], [(_pos select 0),(_pos select 1), 1], 0.8, 0.8, 0, (name player), 1, 0.0315, 'EtelkaMonospacePro'];
}];
Game | min. scripted | min. UI | default | max. UI | max. scripted |
---|---|---|---|---|---|
Arma 3 | 200 | 500 | 1600 | 12000 | 40000 |
Arma 2: Operation Arrowhead | 200 | 500 | 2500 | 10000 | 15000 |
Arma 2 | 200 | 500 | 3000 | 10000 | 15000 |
Armed Assault | 200 | 500 | 1200 | 10000 | ? |
Operation Flashpoint | 500 | 500 | 900 | 5000 | ? |
setViewDistance 2250;
setViewDistance -1; // reset view distance in Arma 3