setAperture: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Killzone Kid (talk | contribs) (important) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets custom camera aperture (-1 to do it automatically). |DESCRIPTION= | | Sets custom camera aperture (-1 to do it automatically). | ||
{{Important | The aperture is set to default by the engine at the mission start. If you set it before the mission started it will reset like it never happened. Make sure you set it at the right time (see example 2)}} |DESCRIPTION= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 19: | Line 20: | ||
|x1= <code>[[setAperture]] 0.3;</code> |EXAMPLE1= | |x1= <code>[[setAperture]] 0.3;</code> |EXAMPLE1= | ||
|x2= <code>[] [[spawn]] { [[waitUntil]] { [[time]] > 0.1 }; [[setAperture]] 100 };</code> |EXAMPLE2= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 16:49, 13 September 2019
Description
- Description:
- Sets custom camera aperture (-1 to do it automatically).
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
setAperture 0.3;
- Example 2:
[] spawn { waitUntil { time > 0.1 }; setAperture 100 };
Additional Information
- See also:
- setApertureNew
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
- Namikaze
- The aperture value to simulate typical daylight (outdoor) conditions is 50. The aperture value to simulate typical daylight (indoor) conditions is 30. Setting the value to less than 20 will result in a very bright scene, suitable for night conditions. The closer the number is to 0, the more light will be let into the lens, to carry on the aperture metaphor. Different lighting/weather conditions can change the actual indoor and outdoor aperture values. Experiment and test to be sure.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters