GetPermanent
From GECK
A function added by the New Vegas Script Extender.
Contents
Description
When called on a reference with ref syntax, returns True (1) if the calling reference is persistent. When passing a reference as parameter, returns true if the reference is flagged as a quest item.
Syntax
(bool) reference.GetPermanent ItemOrActor:Ref
Example
if SomeRef.GetPermanent ; ref is persistent endif
if GetPermanent SomeRef ; ref is quest item endif
Note
- In contrast with IsQuestItem, GetPermanent does work with actors in order to figure out if they're flagged as quest items. It only accepts references, however, not base forms.