BIS fnc fps: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
||
Line 27: | Line 27: | ||
[[Category:Functions|{{uc:fps}}]] | [[Category:Functions|{{uc:fps}}]] |
Revision as of 00:59, 18 January 2021
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.
- Execution:
- call
- Groups:
- Diagnostic
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
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note