benchmark: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands]] | [[Category:Scripting Commands|B]] | ||
[[Category:Scripting Commands OFP 1.97]] | [[Category:Scripting Commands OFP 1.97|B]] | ||
[[Category:Scripting Commands OFP 1.46]] | [[Category:Scripting Commands OFP 1.46|B]] | ||
[[Category:Scripting Commands ArmA]] | [[Category:Scripting Commands ArmA|B]] | ||
back to [[Scripting_Reference#B|COMREF]] | back to [[Scripting_Reference#B|COMREF]] |
Revision as of 13:49, 21 April 2006
back to COMREF
benchmark
Operand types:
None
Type of returned value:
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