Use DrawLine3D in Arma 3.
This code will draw a line in 3d that players can see. Set up four small poles, name them pole1 to pole4 in a square and then place this code in initPlayerLocal.sqf. You can set the properties of the poles to they are not visible in-game. Untick “show model” in attributes. This is how you get the troublesome DrawLine3D function to work. Or how I did it anyway.
addMissionEventHandler ["Draw3D", { drawLine3D [ASLToAGL eyepos pole1, ASLToAGL eyepos pole2, [1,0,0,1]]; drawLine3D [ASLToAGL eyepos pole3, ASLToAGL eyepos pole4, [1,0,0,1]]; drawLine3D [ASLToAGL eyepos pole3, ASLToAGL eyepos pole1, [1,0,0,1]]; drawLine3D [ASLToAGL eyepos pole4, ASLToAGL eyepos pole2, [1,0,0,1]]; }]; |
Place the Military Symbols module and place this code in the init.
setGroupIconsVisible [true,true]; |
This will icons for all group leaders in players 3D view and on the map. Very good for IFF.
Print the Arma 3 logo on the bottom left of your screen, sort of like the Arma 3 Alpha does. This is a cool script. Put this in initPlayerLocal.sqf.
//Wasserzeichen _pic = "\a3\Ui_f\Data\Logos\arma3_ingame_ca.paa"; [ '<img align=''left'' size=''2'' shadow=''1'' image='+(str(_pic))+' />', safeZoneX+0.00, safeZoneY+safeZoneH-0.30, 99999, 0, 0, 3090 ] spawn bis_fnc_dynamicText; |