camSetFocus: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 7: | Line 7: | ||
|gr1= Camera Control | |gr1= Camera Control | ||
| Sets camera focus range in format [distance, blur]. blur param - sets the camera focus blur. It does not automatically commit changes (see [[camCommit]]). Use [-1, -1] to disable focus completely. | |descr= Sets camera focus range in format [distance, blur]. blur param - sets the camera focus blur. It does not automatically commit changes (see [[camCommit]]). Use [-1, -1] to disable focus completely. | ||
|s1= camera '''camSetFocus''' focusRange | |s1= camera '''camSetFocus''' focusRange |
Revision as of 20:59, 13 June 2021
Description
- Description:
- Sets camera focus range in format [distance, blur]. blur param - sets the camera focus blur. It does not automatically commit changes (see camCommit). Use [-1, -1] to disable focus completely.
- Groups:
- Camera Control
Syntax
- Syntax:
- camera camSetFocus focusRange
- Parameters:
- camera: Object
- focusRange: Array
- Return Value:
- Nothing
Examples
- Example 1:
_camera camSetFocus [50, 1];
Additional Information
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