Difference between revisions of "SetQuestObject"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
Line 12: Line 12:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Object Functions]]
[[Category:Object Functions]]
[[Category:Object Functions (GECK 1.0)]]
[[Category:Object Functions (GECK 1.1)]]

Revision as of 13:13, 15 August 2009

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