Difference between revisions of "IsQuestItem"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
(Created page)
 
imported>Pintocat
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Function
{{Function
  |origin = NVSE
  |origin = NVSE
  |summary = Returns true if the specified object is marked as a quest item. May also be called on a reference. Added by NVSE V1.1.
  |summary = Returns true if the specified object is marked as a quest item. Added by NVSE V1.1.
  |name = IsQuestItem
  |name = IsQuestItem
  |returnType = bool
  |returnType = bool
Line 8: Line 8:
   |Type = Object
   |Type = Object
   }}
   }}
  |referenceType = reference
  |referenceType =  
  |example = if IsQuestItem SomePlayerItem
  |example = if IsQuestItem SomePlayerItem
     ; Don't remove it from the player
     ; Don't remove it from the player
  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