BIS fnc traceBullets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Examples x3)
No edit summary
Line 55: Line 55:
[[Category:Functions|{{uc:traceBullets}}]]
[[Category:Functions|{{uc:traceBullets}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:traceBullets}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:traceBullets}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on March 26, 2015 - 23:25 (UTC)</dd>
<dt class="note">[[User:Benargee|Benargee]]</dt>
<dd class="note">
( 1.40)Shooting bullets over water will show wavy lines that move with motion of the waves. This is probably due to using the wrong getPos variants when drawing 3D lines.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 01:25, 27 March 2015


Hover & click on the images for description

Description

Description:
/*

	Description:
	Visualizes bullet trajectories.
	NOTE: Currently works only for player in a single instance

	Parameter(s):
		0: OBJECT - unit who's bullets will be visualized
		1: (Optional) NUMBER - max trajectories (default 10)

	Returns:
	Nothing
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
[player] spawn BIS_fnc_traceBullets;
Example 2:
[player, 20] spawn BIS_fnc_traceBullets;
Example 3:
[player, 0] spawn BIS_fnc_traceBullets; //remove bullet tracing

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

Posted on March 26, 2015 - 23:25 (UTC)
Benargee
( 1.40)Shooting bullets over water will show wavy lines that move with motion of the waves. This is probably due to using the wrong getPos variants when drawing 3D lines.