Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API MoveViewInStart

Last wiki revision 2022-07-22

Begins zooming the camera in. MoveViewInStart(speed)

  • speed: - Speed at which to begin zooming.
  • Nothing

MoveViewInStart(5/tonumber(GetCVar("cameraZoomSpeed"))) -- zoom the camera in at 5 increments/second

  • Speed is a multiplier on the CVar 'cameraZoomSpeed', which is in increments/second. A zoom increment appears to be about a yard from the character.
  • If speed is omitted, it is assumed to be 1.0.
  • Negative numbers go the opposite way, a speed of 0.0 will stop it.
  • This is not canceled by moving your character, but is canceled by using the mousewheel to zoom.
  • Applying a negative speed is not the same as using the other function to go the opposite way, both vectors are applied simultaneously. If you zoom both ways equally, it will appear to stop, but the rotations are still being applied, though canceling each other.

Source

https://warcraft.wiki.gg/wiki/API_MoveViewInStart · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.