SetQuestObject

From the Oblivion ConstructionSet Wiki
Revision as of 00:31, 2 October 2007 by imported>Haama (Some formatting, notes on encumbrance updates)
Jump to navigation Jump to search

Syntax:

SetQuestObject ObjectID flag 

Example:

SetQuestObject Jauffre 1 
SetQuestObject QuestFoozle 0 

Sets the "quest item" flag on an object or actor (1 for quest item or 0 for non-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.