Difference between revisions of "IsQuestItem"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
(clarified)
imported>Pintocat
 
Line 13: Line 13:
  endif
  endif
}}
}}
==Form Types==
These form types can be Quest items:
<pre>22: Talking Activator
24: Armor
25: Book
31: Misc
40: Weapon
41: Ammo
42: NPC
43: Creature
46: Key
47: Ingestible
103: Weapon Mod</pre>
==See Also==
==See Also==
*[[SetQuestObject]]
*[[SetQuestItem]]
*[[SetQuestItem]]
*[[SetShowQuestItems]]
[[Category:Functions_(NVSE)]]
[[Category:Functions_(NVSE)]]

Latest revision as of 20:00, 25 January 2017

< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns true if the specified object is marked as a quest item. Added by NVSE V1.1.

Syntax

[help]
(bool) IsQuestItem Item:Object

Example

if IsQuestItem SomePlayerItem
    ; Don't remove it from the player
endif

Form Types

These form types can be Quest items:

22: Talking Activator
24: Armor
25: Book
31: Misc
40: Weapon
41: Ammo
42: NPC
43: Creature
46: Key
47: Ingestible
103: Weapon Mod

See Also