benchmark: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Returns the value of "3D Performance" in OFP Preferences (flashpoint.cfg). This can be used to estimate the computer performance to adapt CPU and GPU demanding settings like view distance dynamically in missions. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''benchmark''' |= Syntax | ||
| [[Number]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>? (benchmark>2000) : setViewDistance 2000</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|BENCHMARK]] | |||
[[Category:Scripting Commands OFP 1.96|BENCHMARK]] | |||
[[Category:Scripting Commands OFP 1.46|BENCHMARK]] | |||
[[Category:Scripting Commands ArmA|BENCHMARK]] | |||
Revision as of 22:07, 1 August 2006
Description
- Description:
- Returns the value of "3D Performance" in OFP Preferences (flashpoint.cfg). This can be used to estimate the computer performance to adapt CPU and GPU demanding settings like view distance dynamically in missions.
- Groups:
- Uncategorised
Syntax
- Syntax:
- benchmark
- Return Value:
- Number
Examples
- Example 1:
? (benchmark>2000) : setViewDistance 2000
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