Urakhah Posted January 11, 2020 Share Posted January 11, 2020 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 More sharing options...
Urakhah Posted January 13, 2020 Author Share Posted January 13, 2020 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 More sharing options...
SurfsideNaturals Posted January 14, 2020 Share Posted January 14, 2020 Hey Urakhah, That will work for your purposes. If you want to clear a quest item via script. Mark the item as "optional" on the quest alias tab. Then you can use this to clear the alias and the player will be able to drop it. https://www.creationkit.com/index.php?title=Clear_-_ReferenceAlias Link to comment Share on other sites More sharing options...
Recommended Posts