Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

Zoom the camera in or out...

 

Syntax

Code Block
themeRDark
languagejavascript
linenumberstrue
cameraZoom(zoom, speed);

Parameters

ParameterTypeMandatoryNotesGame Version
zoomNumber(tick)

The zoom level to transition to.(question)

Not sure what values are validNormal zoom range is 500 ↔ 5000.

3.2+
speedNumber(tick)

The amount of time for the camera to transition from it's current zoom level to the new zoom level, in milliseconds.

3.2+

Return value

(question)

Example

 

Div
classbox
Availability
Status
colourYellow
title3.2+

Requires:

  • Warzone 3.2 or above
Div
classbox
Contents

Jump to:

Table of Contents
maxLevel5

Div
classbox

See also

Related articles: