Difference between revisions of "IsObjectFavorited - Game"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Terra Nova2
(Changed page layout.)
imported>IsharaMeradin
m (→‎Syntax: there was big syntax warning message about needing to pick the correct language. checked the edit page and changed a - to =)
Line 4: Line 4:


== Syntax ==
== Syntax ==
<source lang-papyrus>
<source lang=papyrus>
bool Function IsObjectFavorited(Form form) global native
bool Function IsObjectFavorited(Form form) global native
</source>
</source>

Revision as of 18:45, 18 November 2016

Member of: Game Script (Requires SKSE)

Syntax

bool Function IsObjectFavorited(Form form) global native

Return value

  • Returns rather the base form is favorited by the player or not.

Examples

Game.IsObjectFavorited(IronSword) == True
; Passes if the player has favorited the IronSword.


See Also