Difference between revisions of "GetFavorites - FavoritesManager"
Jump to navigation
Jump to search
imported>Qazaaq (added f4se member) |
imported>Qazaaq m (Scrivener07 moved page F4SE:GetFavorites - FavoritesManager to GetFavorites - FavoritesManager over redirect) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
''' | '''Member of:''' [[FavoritesManager Script]] | ||
{{Template:Papyrus:RequiredF4SE|version=0.6.5}} | {{Template:Papyrus:RequiredF4SE|version=0.6.5}} | ||
Latest revision as of 13:52, 22 April 2018
Member of: FavoritesManager Script
Requires F4SE version 0.6.5 or higher.
Returns all 12 favorites which may contain none entries.
Syntax[edit | edit source]
Form[] Function GetFavorites() Global Native
Return Value[edit | edit source]
Returns a Form array of all 12 favorited slots. Empty favorite slots will be returned as none entries.
Examples[edit | edit source]
{For each favorite form}
Form[] favorites = FavoritesManager.GetFavorites()
If (favorites)
int index = 0
While (index < favorites.Length)
Debug.Trace("Favorited item at index " + index + " is " + favorites[index])
index += 1
EndWhile
Else
Debug.Trace("There are no favorite items.")
EndIf
Notes[edit | edit source]
None