SetStoreMaxBuyPrice(object, int)

From NWN Lexicon
Jump to navigationJump to search

Sets the maximum amount a store will pay for any item.

void SetStoreMaxBuyPrice(
    object oidStore,
    int nMaxBuy
);

Parameters

oidStore
Store object to handle
nMaxBuy
Maximum price the store will pay


Description

Gets the maximum amount a store will pay for any item. -1 means price unlimited.


Remarks

This can also be set directly in the Toolset.

By default, stores don't have a maximum buy price.


See Also

functions: 

GetStoreMaxBuyPrice



 author: Lilac Soul, editor: Mistress