BIS_fnc_fps

From Bohemia Interactive Community
Revision as of 14:30, 7 April 2019 by Erentar (talk | contribs) (template:command argument fix)
Jump to navigation Jump to search
Introduced with Arma 2 version 1.00
  Effects of this scripting function are not broadcasted over the network and remain local to the client the function is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Function to measure FPS. Spawns code running for given time and displays result on screen via titleText, globalChat and diag_log. Variable BIS_fps_output is filled with diag_log content too.

Syntax

Syntax:
[duration, sceneId, startDelay] call BIS_fnc_fps
Parameters:
duration: Number - the FPS test duration
sceneId: String - (Optional, default "") scene ID, used in outputs. Fills global variable currentScene
startDelay: Number - (Optional, default 0) delay before starting measurement
Return Value:
Script handle

Examples

Example 1:
_scriptHandle = [10, "50 units on screen", 3] call BIS_fnc_fps;

Additional Information

Execution:
call
Multiplayer:
-
See also:
diag_fpsdiag_fpsMindiag_frameNodiag_tickTime

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section