ItemHelper
Info
Dependencies:
- None
Implementation:
ItemHelper.d on GitHub
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.
Initialization
N/A
Functions
Itm_GetPtr
Itm_GetPtr
var int instance
C_ITEMinstance to get the pointer of
Return value The function returns oCItem pointer of the C_ITEM instance.