Difference between revisions of "IsQuestItem"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
(Created page)
 
imported>Odessa
(clarified)
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

Revision as of 05:49, 31 May 2014

< [[::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

See Also