BIS fnc diagBulletCam: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{ *codecomment *\| *\/\/ *([^ ]+) *\}\} " to "{{cc|$1}}") |
||
Line 17: | Line 17: | ||
|x1= <code>[[player]] [[call]] [[BIS_fnc_diagBulletCam]];</code> | |x1= <code>[[player]] [[call]] [[BIS_fnc_diagBulletCam]];</code> | ||
|x2= <code>{{ | |x2= <code>{{cc| bullet camera will be removed after 10s}}_unit = [[player]]; | ||
_unit = [[player]]; | |||
_unit [[call]] [[BIS_fnc_diagBulletCam]]; | _unit [[call]] [[BIS_fnc_diagBulletCam]]; | ||
_ehIndex = _unit [[getVariable]] "bis_fnc_diagBulletCam_fired"; | _ehIndex = _unit [[getVariable]] "bis_fnc_diagBulletCam_fired"; |
Revision as of 16:32, 29 January 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unit: Object - the shooting unit. Can be a vehicle.
- Return Value:
- Return value needed
Examples
- Example 1:
player call BIS_fnc_diagBulletCam;
- Example 2:
// bullet camera will be removed after 10s_unit = player; _unit call BIS_fnc_diagBulletCam; _ehIndex = _unit getVariable "bis_fnc_diagBulletCam_fired"; sleep 10; _unit removeEventHandler ["fired", _ehIndex];
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