BIS fnc diagBulletCam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Add a "bullet camera" to shots fired by the specified unit. |= Description
| Add a "bullet camera" to shots fired by the specified unit. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit call [[BIS_fnc_diagBulletCam]] |= Syntax
| unit call [[BIS_fnc_diagBulletCam]] |SYNTAX=


|p1= unit: [[Object]] - the shooting unit. Can be a vehicle. |= Parameter 1
|p1= unit: [[Object]] - the shooting unit. Can be a vehicle. |= Parameter 1


| [[Boolean]] - [[true]] when done |= Return value
| [[Boolean]] - [[true]] when done |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 27: Line 27:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[:Category:Event_Handlers|Event Handlers]], [[:Category:Command_Group:_Camera_Control|Camera Control Commands]] |= See also
| [[:Category:Event_Handlers|Event Handlers]], [[:Category:Command_Group:_Camera_Control|Camera Control Commands]] |SEEALSO=
}}
}}



Revision as of 12:27, 7 April 2019

Hover & click on the images for description

Description

Description:
Add a "bullet camera" to shots fired by the specified unit.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
unit call BIS_fnc_diagBulletCam
Parameters:
unit: Object - the shooting unit. Can be a vehicle.
Return Value:
Boolean - true when done

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:
Event HandlersCamera Control Commands

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

Notes

Bottom Section