SetValidItemCost(int)

Specifies the amount of gold the combined item is worth during the Smith plot in original campaign.

void SetValidItemCost(
    int nPos
);

Parameters

nPos

Amount of Gold.


Description

Determines amount of gold by cross-referencing a local array string of OBJECT_SELF. Sets the amount of gold into local variable (NW_COMBO_REWARD_GOLD).



Remarks

Script: nw_o0_itemmaker.nss: Line: 245

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 | SetValidItem | SetValidItemCostToken
categories: Module Specific Functions


 author: Jody Fletcher