SetInfiniteFlag(object, int)

From NWN Lexicon
Jump to navigationJump to search

Sets the Infinite flag on an item.

void SetInfiniteFlag(
    object oItem,
    int bInfinite = TRUE
);

Parameters

oItem
The item to change.
bInfinite
TRUE or FALSE, whether the item should be infinite.


Description

Sets the Infinite flag on an item.

The infinite property affects the buying and selling behavior of the item in a store. An infinite item (TRUE) will still be available to purchase from a store after a player buys the item. A non-infinite item (FALSE) will disappear from the store when purchased.


See Also

functions: 

GetInfiniteFlag



author: Mistress