Jump to content

Disable 'Quest Object' flag on Quest Alias via Script?


Urakhah

Recommended Posts

Hey everyone,

 

is it somehow possible to set the 'quest object' flag on an alias to false via scripting?

I'm following the official Quest Design tutorial on creationkit.com and creating a quest, where the player has to retrieve an amulet for a guy. This amulet, or more precisely the respective alias on the quest object pointing to that amulet, is flagged as quest object.

I want to enable the player to drop the item in case the questgiver dies. Because then the player can't deliver it anymore and it just cluttering up the inventory. So I need to set the flag 'quest object' on that alias to false.

I don't want to set the NPC essential, imho it breaks immersion, when NPCs can't be killed.

I could remove the item and add it again by script, so the new added item would no longer be the reference the alias is pointing to - but the player would see and hear that action and I don't want that as well.

 

So ... is it possible to set the flag, or in general set alias flags with papyrus?

 

I appreciate your help, thanks in advance,

 

Phil

Link to comment
Share on other sites

I found another solution, which is most likely total common, but I'm new to CK so I didn't know about it.

I proceeded the tutorial and figured out, that I can stop the quest and relieve the references from their aliases, so that the data in the alias is no longer valid for the actual reference, what means, that my quest object is no longer a quest object as soon as the quest gets stopped by script when the questgiver dies.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...