Description
Wiki Description
Mark the given item as a favorite.
Documentation Comment
Mark the given item as a favorite.
Caveats
Parameters
intaiSlot=-1
CK Wiki Description
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
Examples
; Marks the tutu as the player's most favorite tutu.
Game.GetPlayer().MarkItemAsFavorite(TutuProperty)Auto-Generated Example
Form myForm__akItem
int myInt__aiSlot
myActor__toCallFunctionOn.MarkItemAsFavorite(myForm__akItem, myInt__aiSlot)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
