The AddItemProperty() NWScript command causes the indicated itemproperty to be added to the indicated object (which must be an item) for the indicated duration (which must not be instantaneous).


void AddItemProperty (int nDurationType, itemproperty ipProperty,
object oItem, float fDuration=0.0)

int nDurationType 
A DURATION_TYPE_* constant, indicating whether the item property is to be added temporarily or permanently.
itemproperty ipProperty 
The item property that will be added.
object oItem 
The item to which the property will be added.
float fDuration 
The time (in seconds) for which the property will persist. This only applies if the duration type is temporary.

Permanent item properties affect an item's value, but temporary ones do not.

See also Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.