GetStoreMaxBuyPrice
From NWN Lexicon
Contents |
[edit] GetStoreMaxBuyPrice(object)
Gets the maximum amount a store will pay for any item.
int GetStoreMaxBuyPrice( object oidStore );
[edit] Parameters
oidStore
Store object to determine max price of
[edit] Description
Gets the maximum amount a store will pay for any item. -1 means price unlimited. -2 indicates the store could not be located.
[edit] Remarks
This can also be set directly in the Toolset.
By default, stores don't have a maximum buy price.
Anyone using this function should write special cases for return values -1 and -2.
[edit] Version
1.61
[edit] See Also
functions: |
author: Lilac Soul, editor: Mistress