BIS_fnc_fps
- Local effect
- Arma 3 v0.50
- First in Arma 2 v1.00
Function · Markdown · JSON · original wiki page
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
[duration, sceneId, startDelay] call BIS_fnc_fps
Parameters:
duration: Number - the FPS test durationsceneId: String - (Optional, default "") scene ID, used in outputs. Fills global variable currentScenestartDelay: Number - (Optional, default 0) delay before starting measurement
Returns: Script Handle
Examples
Example 1
private _scriptHandle = [10, "50 units on screen", 3] call BIS_fnc_fps;