Difference between revisions of "IsQuestItem"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>D2k204
imported>Qazaaq
m (Reverted edits by D2k204 (Talk); changed back to last version by WereWolf)
 
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  (isQuestItem:bool) IsQuestItem ''reference'' objectID:ref''
  (isQuestItem:bool) ''reference.''IsQuestItem ''objectID:ref''


Returns whether the type is a quest item.
Returns whether the type is a quest item.
==Example==
ref ITEMref
Begin GameMode
set ITEMref to AmuletofKings
If (IsQuestItem ITEMref)
  player.removeitem ITEMref 1
endif
END
==Notes==


==See Also==
==See Also==

Latest revision as of 14:10, 24 October 2009

A command for Oblivion Script Extender

Syntax:

(isQuestItem:bool) reference.IsQuestItem objectID:ref

Returns whether the type is a quest item.

See Also[edit | edit source]