SetInfiniteFlag

From NWN Lexicon


Contents

[edit] SetInfiniteFlag(object, int)

Sets the Infinite flag on an item.

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

[edit] Parameters

oItem

The item to change.

bInfinite

TRUE or FALSE, whether the item should be infinite.


[edit] 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.



[edit] Version

1.67

[edit] See Also

functions: 

GetInfiniteFlag



author: Mistress

Personal tools
Categories