Difference between revisions of "IsObjectFavorited - Game"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Icecreamassassin
imported>Terra Nova2
(Changed page layout.)
Line 1: Line 1:
Syntax
[[Category:Scripting]]
[[Category:Papyrus]]
'''Member of:''' [[Game Script]] (Requires SKSE)


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


Example:
== Return value ==
*Returns rather the base form is favorited by the player or not.


== Examples ==
<source lang=papyrus>
Game.IsObjectFavorited(IronSword) == True
Game.IsObjectFavorited(IronSword) == True
; Passes if the player has favorited the IronSword.
</source>


Passes if the player has favorited the IronSword
== See Also ==
*[[Game Script]]

Revision as of 08:02, 27 February 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