Osiris/API/EnableSendToHomestead
From Divinity Engine Wiki
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.