GetItemPropertyDuration(itemproperty)
From NWN Lexicon
Jump to navigationJump to searchReturns the total duration of the item property in seconds.
Parameters
- nProperty
- The item property to get the duration of.
Description
Returns the total duration of the item property in seconds. Returns 0 if the duration type of the item property is not DURATION_TYPE_TEMPORARY.
Remarks
You can get the duration type with GetItemPropertyDurationType. Temporary item properties are not saved to the player BIC/transported to new modules.
Version
This function was added in 1.74.8149 of NWN:EE.
Example
See Also
functions: | GetItemPropertyDurationRemaining(), GetItemPropertyDurationType() |