BIS fnc traceBullets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
||
Line 17: | Line 17: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[player] spawn BIS_fnc_traceBullets;</sqf> | ||
|x2= < | |x2= <sqf>[player, 50] spawn BIS_fnc_traceBullets;</sqf> | ||
|x3= < | |x3= <sqf>[player, 0] spawn BIS_fnc_traceBullets; // remove bullet tracing</sqf>|seealso= [[drawLine3D]] | ||
}} | }} | ||
Revision as of 17:00, 13 July 2022
Description
- Description:
- Visualise unit's bullet trajectories. Can only be used on one shooter in a single instance.
If you want to change the unit, first setBIS_tracedShooter = nil
then execute the script again. - Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- [unit, number] call BIS_fnc_traceBullets
- Parameters:
- unit: Object
- number: Number - (Optional, default 20) maximum displayed trajectories
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
- See also:
- drawLine3D
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