Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.2

Description

Description:Adds a zone scope, to be used with a telemetry visualizer.

Note: Telemetry is a plugin that requires a license and download from RAD Game Tools. For more information see http://www.radgametools.com/telemetry.htm.

Counters are global for all scripts, and are reset to 0 at the end of each frame. To show the counter, open the timeline tab of the visualizer, click Show Plots, and select the name of the counters to display.

In order to use VBS with the visualizer, it has to be started with the following command-line arguments: -profiling -telemetry=localhost

It is also recommended to use -telemetryPause, so that the visualizer starts in a paused mode. The telemetry software (viz64.exe, viz64.key, telemetry32c.dll) have to be installed in the \lib subfolder of the VBS3 root folder.

Syntax

Syntax:profileScope scope
Parameters:
  • scope: String - Name of scope to create.
Return Value:Nothing

Examples

Examples:
if (someCondition) then {
  profileScope "ScopeName";
  ...
};

May show up like this in the zone tab of the visualizer:

Additional Information

See also: profileCounterAdd
Multiplayer:
Problems:

Notes