void AddItemProperty (int nDurationType, itemproperty ipProperty
object oItem, float fDuration=0.0
- A DURATION_TYPE_* constant, indicating whether the item property is to be added temporarily or permanently.
- The item property that will be added.
- The item to which the property will be added.
- 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
RemoveItemProperty()— removes item properties.