MarkItemAsFavorite - Actor

From Creation Kit
Jump to: navigation, search

Member of: 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

Return Value

None.

Examples

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

See Also