SetInfiniteFlag(object, int)

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.



Version

1.67

See Also

functions:  GetInfiniteFlag
categories:  Store Functions


author: Mistress