Difference between revisions of "SetQuestObject"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Maturin
 
imported>Vswe
m (Added Search Terms)
 
(4 intermediate revisions by 3 users not shown)
Line 5: Line 5:
  SetQuestObject QuestFoozle 0  
  SetQuestObject QuestFoozle 0  


Sets the "quest item" flag on an object or actor (1 or 0). When this flag is set to 1:
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.
* 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".
* 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.




[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Inventory Functions]]
[[Category: Inventory Functions (CS 1.0)]]


[[Category: Functions]]
<!-- Begin Search Terms
[[Category: Object Functions]]
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.