benchmark: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands|BENCHMARK]] | [[Category:Scripting Commands|BENCHMARK]] | ||
[[Category:Scripting Commands OFP 1. | [[Category:Scripting Commands OFP 1.96|BENCHMARK]] | ||
[[Category:Scripting Commands OFP 1.46|BENCHMARK]] | [[Category:Scripting Commands OFP 1.46|BENCHMARK]] | ||
[[Category:Scripting Commands ArmA|BENCHMARK]] | [[Category:Scripting Commands ArmA|BENCHMARK]] |
Revision as of 19:43, 1 June 2006
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