IsValidBaseItem

From NWN Lexicon



Contents

[edit] IsValidBaseItem(object, int)

Checks to see if the baseitem type matches the one in the array AND if the item is "magical"

int IsValidBaseItem(
    object oItem,
    int nIndex
);

[edit] Parameters

oItem

The item to check whether or not matches

nIndex

The array position to check for match in


[edit] Description

Used for forging items, it checks if oItem matches the one in the “array” and if it is magical.if the baseitem type matches



[edit] Remarks

Found in nw_o0_itemmaker.nss on line 212

The check to see whether an item is magical is done by the function GetIsMagical, which has certain limitations. I suggest you read its description.


[edit] Requirements

#include " nw_o0_itemmaker "

[edit] Version

1.28

[edit] See Also

functions: 

GetIsMagical



 author: Lilac Soul, additional contributor(s): Lilac Soul
 

Personal tools
Categories