AddToContainer
Jump to navigation
Jump to search
Description[edit | edit source]
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[edit | edit source]
[ObjectRef]. AddToContainer ContainerRef Suppress-Message(optional)
Examples[edit | edit source]
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[edit | edit source]
See Also[edit | edit source]
Reference[edit | edit source]
None provided.