benchmark: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Wiki links are currently case sensitive.)
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|B]]
[[Category:Scripting Commands ArmA|B]]


back to [[Scripting_Reference#B|COMREF]]


<h2 style="color:#000066"> '''benchmark'''</h2>
<h2 style="color:#000066"> '''benchmark'''</h2>

Revision as of 12:32, 23 April 2006


benchmark


Operand types:

None

Type of returned value:

Number

Description:

Value of "3D performance" in OFP preferences.

This can be used to estimate computer performance.

This function can be used to create missions that are able to adapt to computer peformance.


Example:

? benchmark > 2000 : setViewDistance 2000