Osiris/API/EnableSendToHomestead

From Divinity Engine Wiki
Revision as of 19:43, 20 September 2017 by Tinkerer (talk | contribs) (Document EnableSendToHomestead)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call EnableSendToHomestead((CHARACTERGUID)_Character, (INTEGER)_Bool)
Description

Depending on whether _Bool is 1 or 0, enables or disables sending items to the homestead chest for _Character by right-clicking on items in their inventory.

Notes
  • When the waypoint shrine button is disabled, this functionality will not work either regardless of whether it is enabled or not.
  • When a player sends an item to the homestead check, an ItemSendToHomesteadEvent is thrown.
  • See the DivinityOrigins goal GLO_LVHub_PlayerChests for how this functionality is used in the main game.
See Also