Hi all! New to modding, using various wiki pages / tutorials / wonderful people in the Discord chat to slowly become less incompetent.
Today's struggle: closing quests. I've set up a quest that should have three journal updates:
1) Bonzo the Bull hires you to go kill Marvin the Malevolent, a pig who keeps casting Fireball into Bonzo's meadow (QuestUpdate_KillThePig_QuestGiven flag set through dialog; this works great)
2) Marvin the Malevolent dies (QuestUpdate_KillThePig_MarvinDead flag set after Marvin dies; this also works great)
3) You return to Bonzo to get a reward, everyone is happy (except for Marvin), the end (QuestUpdate_KillThePig_HappyEnding flag set through updated dialog branch)
...except No. 3, my intended close-quest event, registers as a quest update and not a quest close, the same as No. 2. I want to close the quest, not continue it.
Things I've tried:
--messing with the Act, Gain, and RewardTreasureTables entries for HappyEnding. No change
--Changing the INIT section:
DB_QuestDef_State("KillThePig","HappyEnding",1);
to
DB_QuestDef_CloseEvent("KillThePig","HappyEnding");
No idea if that would /should change anything. It hasn't.
So yeah, I can't find any tutorials that cover quest conclusion. How do I make the quest close / go inactive with a visible journal update to the player?
Thanks for your help!