camSetFocus: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Camera Control |GROUP1= ") |
mNo edit summary |
||
Line 7: | Line 7: | ||
|gr1 = Camera Control |GROUP1= | |gr1 = Camera Control |GROUP1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 42: | Line 40: | ||
[[Category:Scripting Commands OFP Elite |CAMSETFOCUS]] | [[Category:Scripting Commands OFP Elite |CAMSETFOCUS]] | ||
[[Category:Scripting Commands Armed Assault|CAMSETFOCUS]] | [[Category:Scripting Commands Armed Assault|CAMSETFOCUS]] | ||
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 11:06, 26 September 2020
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