GiveNumItems

From NWN Lexicon
Jump to: navigation, search



GiveNumItems(object, string, int)

Gives the target the number of items specified.

void GiveNumItems(
    object oTarget,
    string sItem,
    int nNumItems
);

Parameters

oTarget

sItem

nNumItems


Description

Loops through the calling objects inventory and gives up to nNumItems of sItem to oTarget.



Remarks

Function can be found in nw_i0_plot.nss on line 813.

Function was never used by BioWare in any of the official scripts or include files. Simple behavior though.


Requirements

#include " nw_i0_plot "

Version

1.22

See Also

functions: 

TakeNumItems



 author: John Shuell