ItemHelper
This package is very simple - it retrieves a oCItem
pointer from an C_ITEM
instance valid for the current world and session.
Warning
Make sure every world has waypoint with name TOT
("dead" in German). Ikarus & LeGo need this waypoint to spawn helper NPCs.
This is especially important in Gothic 1 since G1 vanilla worlds do not have the TOT
waypoint.
Dependencies
N/A
Initialization
N/A
Implementation
Functions
Itm_GetPtr
var int instance
C_ITEM
instance to get the pointer of
Return value The function returns oCItem
pointer of the C_ITEM
instance.