SetValidItem(int)

Specifies the location in a PC's inventory where a valid item exists for the Smithy plot in original campaign.

void SetValidItem(
    int nPos
);

Parameters

nPos

Inventory position where valid item is.


Description

After GetCombo function determines that the PC has the appropriate items, it determines the position of the item in their inventory by scanning each position.

Once inventory location is identified local variable (M3Q1_VALIDITEM) is filled with nPos.



Remarks

Script: nw_o0_itemmaker.nss: Line: 241

This is part of Bioware’s own quest and reward system. It is hardly useful for anyone not copying that system to the very last detail.


Requirements

#include "nw_o0_itemmaker"

Version

1.29

See Also

functions: GetValidItem | GetValidItemCost | SetValidItemCost | SetValidItemCostToken
categories: Module Specific Functions


 author: Jody Fletcher, editor: Mistress, contributor: Kookoo