MarkItemAsFavorite - Actor

Member of: Actor Script

Mark the given item as a favorite.

SyntaxEdit

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

ParametersEdit

  • 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 ValueEdit

None.

ExamplesEdit

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

See AlsoEdit