PropertyValue
rdfs:label
  • AddItemProperty
rdfs:comment
  • 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).
  • function AddItemProperty () * Return type: void * Include file: nwscriptdefn
param3desc
  • The item to which the property will be added.
dcterms:subject
dbkwik:nwn2/property/wikiPageUsesTemplate
returns
Name
  • AddItemProperty
param
  • object oItem
  • float fDuration
  • int nDurationType
  • itemproperty ipProperty
param2desc
  • The item property that will be added.
param1desc
  • A DURATION_TYPE_* constant, indicating whether the item property is to be added temporarily or permanently.
dbkwik:nwn/property/wikiPageUsesTemplate
param4desc
  • The time for which the property will persist. This only applies if the duration type is temporary.
param4default
  • 0
abstract
  • 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).
  • function AddItemProperty () * Return type: void * Include file: nwscriptdefn