I'm using FreeformRiften10 as a base quest to go by. Also just working out the Wolf pelt display for now, rather than both.
Now so far I have 2 globals sets up, HISQ3WolfPeltCount, and HISQ3WolfPeltTotal. They are added to the Text Display Globals in the quest itself. So the objective reads: "Collect 10 Wolf Pelts for the Guild (
Looking at FreeformRiften10 it has a script that reads like this (as well as a quest script)
Spoiler
Scriptname FFR10QuestScript extends Quest ConditionalGlobalVariable Property pFF10SaltCount Auto ConditionalQuest Property pFFR10Quest Auto ConditionalIngredient Property pSalt Auto ConditionalFunction SaltCounted()float CurrentCount = Game.GetPlayer().GetItemCount(pSalt)pFF10SaltCount.Value = http://forums.bethsoft.com/topic/1401207-bring-10-items-to-npc-010-quests/CurrentCountUpdateCurrentInstanceGlobal(pFF10SaltCount)if CurrentCount>= 10pFFR10Quest.SetObjectiveCompleted(10,1)pFFR10Quest.SetObjectiveDisplayed(20,true,true)elseif CurrentCount < 10pFFR10Quest.SetObjectiveCompleted(10,0)pFFR10Quest.SetObjectiveDisplayed(20,0)pFFR10Quest.SetObjectiveDisplayed(10,true,true)endifendFunction
And mine reads:
Spoiler
Scriptname HISGQ3PeltScript extends Quest; script just to update count MiscObject Property WolfPelt Auto Quest Property HISGuildQuest3Pelts Auto GlobalVariable Property HISQ3WolfPeltCount Auto Function PeltsCounted()float CurrentCount = Game.GetPlayer().GetItemCount(WolfPelt)HISQ3WolfPeltCount.Value = http://forums.bethsoft.com/topic/1401207-bring-10-items-to-npc-010-quests/CurrentCountUpdateCurrentInstanceGlobal(HISQ3WolfPeltCount)if CurrentCount>= 10 ;elseif CurrentCount < 10 ;endifendFunction
In stage 10 of my script I need what is in stage 10 of the other quest I think, (which is why it's not updating)... pFFR10QS.SaltCounted(). Now this seems to be calling a property in the quest script pointing at the addon script, but I don't know how to do that... there isn't a Script property that I can see. The source of the quest script shows FFR10QuestScript Property pFFR10QS Auto. But how can I make the script a property in another script like beth have? I've tried calling the function of kmyQuest but that doesn't work. I'm just guessing at stuff now.
Am I doing something really silly? Can anyone help? I just want the count to update when you have/drop the pelts lol.

EDIT
Solved, see below.