Přeskočit obsah

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

ItemHelper.d on GitHub

Functions

Itm_GetPtr

func int Itm_GetPtr(var int instance)
Parameters
  • var int instance
    C_ITEM instance to get the pointer of

Return value The function returns oCItem pointer of the C_ITEM instance.