Difference between revisions of "SetQuestItem"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>Haama
(Added notes from SetQuestObject, link)
 
Line 5: Line 5:


Sets whether the type is a quest item.
Sets whether the type is a quest item.
==Notes==
* NPC/Creature -- has priority in updates when the player is changing process state. For instance, "quest" flagged NPCs will follow the player through load doors more quickly. Corpses will not be "cleaned up" when the cell expires.
* Inventory items -- player cannot drop or sell items flagged as "quest items".
* If you change the status of an item while the player has it in their inventory, their encumbrance won't be updated automatically. They have to pick up another item, or you can add/remove another item to force an update.


==See Also==
==See Also==
*[[IsQuestItem]]
*[[IsQuestItem]]
*[[SetQuestObject]]


[[Category:Functions]]
[[Category:Functions]]

Latest revision as of 00:32, 2 October 2007

A command for Oblivion Script Extender

Syntax:

(nothing) reference.SetQuestItem isQuestItem:bool objectID:ref

Sets whether the type is a quest item.

Notes[edit | edit source]

  • NPC/Creature -- has priority in updates when the player is changing process state. For instance, "quest" flagged NPCs will follow the player through load doors more quickly. Corpses will not be "cleaned up" when the cell expires.
  • Inventory items -- player cannot drop or sell items flagged as "quest items".
  • If you change the status of an item while the player has it in their inventory, their encumbrance won't be updated automatically. They have to pick up another item, or you can add/remove another item to force an update.

See Also[edit | edit source]