IsObjectFavorited - Game

From Creation Kit
Jump to: navigation, search

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.

Notes

  • This function can only check a specific form. Passing a FormList will return false.

See Also