BIS fnc traceBullets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Text replacement - "<br />" to "<br>") |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Visualise unit's bullet trajectories. Can only be used on one shooter in a single instance.<br | | Visualise unit's bullet trajectories. Can only be used on one shooter in a single instance.<br> | ||
If you want to change the unit, first set {{Inline code|BIS_tracedShooter {{=}} [[nil]]}} ''then'' execute the script again. |DESCRIPTION= | If you want to change the unit, first set {{Inline code|BIS_tracedShooter {{=}} [[nil]]}} ''then'' execute the script again. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 12:06, 19 March 2020
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:
- Uncategorised
Syntax
- Syntax:
- [unit, number] call BIS_fnc_traceBullets
- Parameters:
- unit: Object
- number: Number - (Optional, default 10) maximum displayed trajectories
- Return Value:
- Nothing
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:
- 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