Problem with GetVMQuestVariable Condition

Post » Thu Feb 28, 2013 11:23 am

I'm trying to set it up so that an npc will only say certain lines to the player if they have spoken with him already. Up until this point I did a sort of work around for this, through quest objectives, but I think I need to make this function work, for my quest progression to work properly.

Right now I have a quest script, HoS_DonahueTalked which contains:

Scriptname HoS_DonahueTalked extends Quest  ConditionalInt Property TalkedToDonahue Auto  Conditional

Then on the end fragment of Donahue's conversation, I have:
HoS_DonahueTalked QuestScript = GetOwningQuest() as HoS_DonahueTalkedif(QuestScript.TalkedToDonahue == 0)     QuestScript.TalkedToDonahue = 1endif

Then on the condition set for the lines in question, I added a GetVMQuestVariable, with the quest involved, in this case HoS_GSQ01. The list of variables is empty for the parameters. Sundance told me in another thread that you have to hit okay, close down the windows and bring it back up for the list to populate, however, the list is still empty after trying that.
User avatar
Crystal Clarke
 
Posts: 3410
Joined: Mon Dec 11, 2006 5:55 am

Return to V - Skyrim