drawIcon3D [texture, color, pos, width, height, angle, text, shadow, textSize, font]

Operand types

[texture, color, pos, width, height, angle, text, shadow, textSize, font]: Array

Type of returned value

Description

Draws an ingame icon at a given position.

Command has to be executed each frame. Use onEachFrame or addMissionEventHandler "Draw3D"

Used In

Arma3

Example

//Icon and text
onEachFrame {
drawIcon3D ["targetIcon.paa", [1,1,1,1], getPos cursorTarget, 1, 1, 45, "Target", 1, 0.05, "TahomaB"];
};

//text only
addMissionEventHandler ["Draw3D", {
drawIcon3D ["", [1,0,0,1], position cursorTarget, 0, 0, 0, "Target", 1, 0.05, "PuristaMedium"];
}];
Search OFPEC COMREF