Jump to content

Quest objects can't be sold or dropped after quest completed


Recommended Posts

Hi.

 

I've almost finished with my expansion. The quest runs fine, but... and it's a big but... none of the alias items marked as quest objects can be sold, dropped or stored after the quest has completed. Typing SQT in the console does not list the quest as running.

 

I really don't want the player to accidentally drop some of these items as they'd never complete the quest without them.

 

Any ideas?

Link to comment
Share on other sites

If you have mark / flag that object as an "Quest Object", then you can not remove them in game, only throught a scripted function that it will remove that object from the player.

For example:

- Giving the object to another npc to complete the quest.

- Placing the object on a 'Display'.

Link to comment
Share on other sites

I never knew that after all this time making personal mods! I've always used them as you describe.

 

This quote on Creation Kit.com did nothing to change that opinion...

 

"Quest Object: Make the reference in this alias a Quest Object while in the alias:"

 

It was the "while in the alias" bit that had me convinced they could be dropped or sold when the quest ended. I had it in the back of my head that the flag would be automatically removed once the quest stopped, which just made sense to me!

 

I could simply silently remove the quest items from the player's inventory and add normal versions at stages where the items are no longer essential for the quest to complete, or else do them all in the 'Complete Quest' stage and 'Fail Quest Stage'. I'm only talking about 5 items, so it won't take much doing.

 

Edit: I've done it the first way, so that I'm only executing 2 lines of code at a time, rather than all ten at once, in both the 'Complete and Fail' stages. It seemed neater. This way The player can't drop the items before they are needed, but they can keep or sell them or even drop or store them when they are no longer vital to the quest. Job done. Took about 10 minutes to add the necessary properties to the quest script and stick the 'AddItem' and 'RemoveItem' lines into the stage fragments.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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