Difference between revisions of "IsQuestItem"
no edit summary
imported>WereWolf |
imported>D2k204 |
||
Line 2: | Line 2: | ||
'''Syntax:''' | '''Syntax:''' | ||
(isQuestItem:bool) ''reference | (isQuestItem:bool) IsQuestItem ''reference'' 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== |