AddToContainer

From Creation Kit
Jump to: navigation, search

Contents

Description

AddToContainer Moves the object into the specified container. Only works on inventory objects. An optional flag suppresses the "item added" message if added to the player.

Syntax

[ObjectRef]. AddToContainer ContainerRef Suppress-Message(optional)

Examples

MySwordRef.AddToContainer SpecialChestRef
MySwordRef.AddToContainer player ;adds to the player's inventory and pops a message letting the player know that
MySwordRef.AddToContainer player 1 ;adds to player's inventory and suppresses the messsage

Notes

See Also

Reference

None provided.

Papyrus Version

AddItem - ObjectReference

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
coming
coming
coming
coming