GetForgeMatch(int)
Checks to see if the nPos item matches the current reward
int GetForgeMatch( int nPos );
Parameters
nPos
The position number of the reward in the string array to compare against.
Description
Returns TRUE if a string held on the calling object in "M3Q1_VALIDITEM" is the same as the string found on the calling object in a variable named "NW_COMBO_REWARD" + nPos.
Remarks
Function can be found in nw_o0_itemmaker.nss on line 295.
For the conversation scripts that tell you *which* item can succesfully be made from the forge.
This has no use outside of the official campaign.
Requirements
#include "nw_o0_itemmaker"
Version
1.22
See Also
functions: | CreateForgeItem | GetBackpackMatch |
categories: | Module Specific Functions |
author: John Shuell