IsObjectFavorited - Game

From the CreationKit Wiki
Jump to navigation Jump to search

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.

See Also[edit | edit source]