Warning: file_put_contents(/ff_f5d32caa9977b7446131e4c4ca08b6fbe568f1161e2ee20b.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
drawLine3D - OFPEC Scripting Command Reference | OFPEC The Editing Center

drawLine3D [start, end, color]

Operand types

[start, end, color] : Array

Type of returned value

Description

Draws a line of a given color between two 3D positions.
Command has to be executed each frame. Use onEachFrame or addMissionEventHandler "Draw3D".

Used In

Arma3

Example

onEachFrame {
drawLine3D [getPos player, getPos cursorTarget, [1,1,1,1]];
};

Advertisement