Difference between revisions of "SetQuestObject"
Jump to navigation
Jump to search
imported>Haama (Some formatting, notes on encumbrance updates) |
imported>Fella |
||
Line 14: | Line 14: | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | [[Category: Functions (CS 1.0)]] | ||
[[Category: Inventory Functions]] | [[Category: Inventory Functions]] | ||
[[Category: Inventory Functions (CS 1.0)]] | [[Category: Inventory Functions (CS 1.0)]] |
Revision as of 12:00, 23 January 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
- 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.