BIS fnc traceBullets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
m (Text replacement - "{{Inline code|" to "{{ic|") |
||
Line 8: | Line 8: | ||
| 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 {{ | If you want to change the unit, first set {{ic|BIS_tracedShooter {{=}} [[nil]]}} ''then'' execute the script again. | ||
| [unit, number] call [[BIS_fnc_traceBullets]] | | [unit, number] call [[BIS_fnc_traceBullets]] |
Revision as of 18:11, 27 February 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unit: Object
- number: Number - (Optional, default 20) maximum displayed trajectories
- Return Value:
- Return value needed
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