3D Text On Object
First open your mission in Eden Editor and place an object you prefer. Now add this code to the init field of that object. This will add an action that opens ace arsenal. With 3d text hovering over the object. When players are 25m the 3d text will appear.
iconPos = position UnitShop vectorAdd [0,1,1]; addMissionEventHandler ["Draw3D", { if (UnitShop distance player > 25) exitWith {}; drawIcon3D [ "a3\ui_f\data\logos\a_64_ca.paa", [1,1,1,1], iconPos, 2, 2, 0, "", 2, 0.05, "puristaBold", "left", false, 0, 0 ]; drawIcon3D [ "", [1,0.9,0,1], visiblePosition UnitShop vectorAdd [0,1,1], 5, 5, 0, "ACE Arsenal", 2, 0.05, "puristaBold", "center", false, 0, 0 ]; }]; this addAction["<t color='#FFFFFF' size='1.4'><img image='\plp_markers\icons\plp_icon_specialforces.pac'></img><t color='#ffd700' size='1.4' font='puristaBold'> ACE ARSENAL<t>",{[player, player, true] call ace_arsenal_fnc_openBox;}];
Last updated