GetHas2Q4PlotItem(object, int)
Test if the object has the specified plot item
int GetHas2Q4PlotItem( object oItemPossesser, int nPlotItemConstant );
Parameters
oItemPossesser
The object, creature or player you wish to search for the plot item.
nPlotItemConstant
The constant name that refers to the plot iem you want to search for.
Description
Returns TRUE if the oItemPossesser has an item that is defined by the nPlotItemConstant variable.
This script is a wrapper function that calls GetItemPossessedBy() to check for an item and then tests with GetIsObjectValid to see if the item exists in their inventories.
It only checks for three possible items:
PLOT_2Q4_ITEM_KURTH_BASE_KEY
PLOT_2Q4_ITEM_BARAM_BASE_KEY
PLOT_2Q4_ITEM_ERBS_RING
Remarks
This function is defined in nw_i0_2q4luskan.nss on line 24.
Requirements
#include "nw_i0_2q4luskan"
Version
1.22
See Also
functions: | GetItemPossessedBy |
categories: | Module Specific Functions |
author: John Shuell