SaveView

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Saves a camera angle. The last position loaded is stored in the CVar cameraView.

SaveView(viewIndex)

Arguments

viewIndex
number - The index (2-5) to save the camera angle to. (1 is reserved for first person view)

Details

  • Saved views are preserved across sessions.
  • Use ResetView(viewIndex) to reset a view to its default.
  • The last position loaded is stored in the CVar cameraView.

Bugs

Fixed: A bug in 3.0-patches causes SaveView variables not to load first time you load a character after entering the game.
Reloading the UI, or reloading the character from character selection screen, will fix this bug. Source