WoW:API SaveView: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
(Updated to match the current API boilerplate.)
Line 1: Line 1:
{{Stub/API}}
{{wowapi}} __NOTOC__
{{wowapi}}
Used to save a camera angle for later retrieval with [[API SetView|SetView]].


Usage (macro):


/script SaveView(%x);
Saves a camera angle for later retrieval with [[API SetView|SetView]].
(Where '%x' is 1, 2, 3, or 4)
SaveView(viewIndex)
 
 
== Arguments ==
:; viewIndex : Number - The index (1-4) to save the camera angle to
 
 
== Returns ==
:nil

Revision as of 13:23, 27 June 2007

WoW API < SaveView


Saves a camera angle for later retrieval with SetView.

SaveView(viewIndex)


Arguments

viewIndex
Number - The index (1-4) to save the camera angle to


Returns

nil