BIS fnc traceBullets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
Line 9: | Line 9: | ||
If you want to change the unit, first set {{ic|BIS_tracedShooter {{=}} [[nil]]}} ''then'' execute the script again. | If you want to change the unit, first set {{ic|BIS_tracedShooter {{=}} [[nil]]}} ''then'' execute the script again. | ||
|s1=[unit, number] call [[BIS_fnc_traceBullets]] | |s1= [unit, number] call [[BIS_fnc_traceBullets]] | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] |
Revision as of 23:12, 12 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:
[player] spawn BIS_fnc_traceBullets;
- Example 2:
[player, 50] spawn BIS_fnc_traceBullets;
- Example 3:
[player, 0] spawn BIS_fnc_traceBullets; // remove bullet tracing
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