DbCreateItemOnObject

From NWN Lexicon



Contents

[edit] dbCreateItemOnObject(string, object, int)

This function creates the item for the NWN Treasure Distribution System.

void dbCreateItemOnObject(
    string sItemTemplate,
    object oTarget = OBJECT_SELF,
    int nStackSize = 1
);

[edit] Parameters

sItemTemplate

The blueprint resref of the item to be created (if this is an empty string, then it should be reported to "Brent").

oTarget

The inventory where you want the item created. (Default: OBJECT_SELF)

nStackSize

The number of items to be created. (Default: 1)


[edit] Description

This function was made to assist with debugging and eventually became the function that actually creates items for the NWN Treasure Distribution System.



[edit] Requirements

#include " nw_o2_coninclude "

[edit] Version

1.29

[edit] See Also

functions: 

CreateItemOnObject



 author: Michael Nork, editor: Charles Feduke
 

Personal tools
Categories