Mod:Creation Kit/MarkItemAsFavorite - Actor

Member of: Mod:Creation Kit/Actor Script

Mark the given item as a favorite.

Syntax
Function MarkItemAsFavorite(Form akItem, int aiSlot=-1) native

Parameters

 * akItem: The item the actor should favorite.
 * aiSlot: The slot to favorite the item in. If -1, uses the first open slot or slot #1 if all slots are filled.
 * Default: -1
 * Valid values: -1, 1-12

Return Value
None.

Examples
Game.GetPlayer.MarkItemAsFavorite(TutuProperty)
 * Marks the tutu as the player's most favorite tutu.