drawLine3D
Jump to navigation
Jump to search
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:
- drawIcon3D
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
- Posted on August 31, 2013
- Killzone_Kid
- As command syntax indicates, this command expects starting and ending position in format Position meaning that over the land it expects PositionATL and over the sea PositionASL. Use additional ASLToATL and ATLToASL commands wherever is necessary.
drawLine3D [ASLToATL eyePos soldier1, ASLToATL eyePos soldier2, [1,0,0,1]]