Dropping items by player¶
Engine restrictions
It's only available for Gothic 2 Addon (G2A)!
This hook is triggered whenever the player tries to drop an item from his inventory into the game world.
It lets you control whether an item can be dropped by using a script condition.
When an item is about to be dropped, the hook checks for a Daedalus function: zDExt_Npc_CanDropItem defined in Scripts/Content directory.
item- selected item in player's inventory to dropself- player