Difference between revisions of "IsObjectFavorited - Game"
Jump to navigation
Jump to search
imported>Terra Nova2 (Changed page layout.) |
imported>Pickysaurus m (→Notes) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
== Syntax == | == Syntax == | ||
<source lang | <source lang=papyrus> | ||
bool Function IsObjectFavorited(Form form) global native | bool Function IsObjectFavorited(Form form) global native | ||
</source> | </source> | ||
Line 18: | Line 18: | ||
</source> | </source> | ||
== Notes == | |||
*This function can only check a specific form. Passing a FormList will return false. | |||
== See Also == | == See Also == | ||
*[[Game Script]] | *[[Game Script]] |
Latest revision as of 08:00, 21 September 2019
Member of: Game Script (Requires SKSE)
Syntax[edit | edit source]
bool Function IsObjectFavorited(Form form) global native
Return value[edit | edit source]
- Returns rather the base form is favorited by the player or not.
Examples[edit | edit source]
Game.IsObjectFavorited(IronSword) == True
; Passes if the player has favorited the IronSword.
Notes[edit | edit source]
- This function can only check a specific form. Passing a FormList will return false.