GetForgeMatch

From NWN Lexicon



Contents

[edit] GetForgeMatch(int)

Checks to see if the nPos item matches the current reward

int GetForgeMatch(
    int nPos
);

[edit] Parameters

nPos

The position number of the reward in the string array to compare against.


[edit] 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.



[edit] 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.


[edit] Requirements

#include " nw_o0_itemmaker "

[edit] Version

1.22

[edit] See Also

functions: 

GetBackpackMatch



 author: John Shuell
 

Personal tools
Categories