drawLine3D: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (line disappears after one frame)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Draws a line of a given color from start to end. |= Description
| Draws a line of a given color between two 3D positions. Line disappears after one frame. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 02:29, 8 June 2013

Hover & click on the images for description

Description

Description:
Draws a line of a given color between two 3D positions. Line disappears after one frame.
Groups:
Uncategorised

Syntax

Syntax:
drawLine3D [start, end, color]
Parameters:
[start, end, color]: Array
start: Position
end: Position
color: Color
Return Value:
Nothing

Examples

Example 1:
drawLine3D [getPos soldier, getPos cursorTarget, [1,1,1,1]]

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section