Difference between revisions of "SetQuestObject"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(CS 1.0 stuff)
imported>DragoonWraith
Line 12: Line 12:
[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (CS 1.0)]]
[[Category: Functions (CS 1.0)]]
[[Category: Object Functions]]
[[Category: Inventory Functions]]
[[Category: Object Functions (CS 1.0)]]
[[Category: Inventory Functions (CS 1.0)]]

Revision as of 20:13, 15 August 2007

Syntax:

SetQuestObject ObjectID flag 

Example:

SetQuestObject Jauffre 1 
SetQuestObject QuestFoozle 0 

Sets the "quest item" flag on an object or actor (1 or 0). When this flag is set to 1:

  • 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".