WoW:API SaveView: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(Updated with new information)
Line 14: Line 14:
=== Notes ===
=== Notes ===


:-As of Patch 3.0, Saved views are no longer preserved across sessions.  They revert to the default upon connection to a server.
:-<s>As of Patch 3.0, Saved views are no longer preserved across sessions.  They revert to the default upon connection to a server.</s>
 
:-Saved views ARE preserved across sessions, but a bug in 3.0-patches causes it 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: [http://forums.worldofwarcraft.com/thread.html;jsessionid=232FD6BFB263DD032A2A67227000932E.app25_04?topicId=12454545616&sid=1 Official WoW Forums]

Revision as of 12:01, 26 December 2008

WoW API < SaveView


Saves a camera angle for later retrieval with SetView.

SaveView(viewIndex)


Arguments

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

Returns

nil

Notes

-As of Patch 3.0, Saved views are no longer preserved across sessions. They revert to the default upon connection to a server.
-Saved views ARE preserved across sessions, but a bug in 3.0-patches causes it 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: Official WoW Forums