Difference between revisions of "SetQuestObject"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Fella
imported>Vswe
m (Added Search Terms)
 
Line 18: Line 18:
[[Category: Inventory Functions]]
[[Category: Inventory Functions]]
[[Category: Inventory Functions (CS 1.0)]]
[[Category: Inventory Functions (CS 1.0)]]
<!-- Begin Search Terms
Set
Quest
Object
End Search Terms -->

Latest revision as of 14:55, 20 June 2008

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[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.