IsQuestItem - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Checks if this object is considered a quest item.

Syntax[edit | edit source]

bool Function IsQuestItem() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

True if object is a quest item, false otherwise.

Examples[edit | edit source]

; Is the egg a quest item?
if DeathclawEgg.IsQuestItem()
  Debug.Trace("Egg is a quest item - we better not get rid of it")
endIf

See Also[edit | edit source]