Background: I'm working on a house mod where you can buy upgrades for the house, and the only tutorials I found was about adding new upgrades to existing houses, so I had to build the quest from the ground up. I dont have any scripting background, so this is a first for me.
Question 1: I'm using the following script when buying an upgrade: (note the "xxxxxx" is just a place holder, since each upgrade differ)
Spoiler
What I need help with, is how do I script a three day delay before decoratemarker.enable() is enabled?Scriptname TIF__xxxxxxxx Extends TopicInfo HiddenFunction Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor game.getplayer().removeitem(gold, tdNarmoHall.value as int) decoratemarker.enable()EndFunctionMiscObject Property Gold Autoint Property GoldAmount AutoObjectReference Property DecorateMarker AutoGlobalVariable Property tdNarmoHall Auto
Question 2: Then, how do I make the option of this specific upgrade not appear in the dialog during the three day delay?
Question 3: In the games HousePurches quest, when an upgrade is purchesed the "GetVMQuestVariable" condition is set and "SolitudeHouseVar_var" (just an example) is used. Do I need this for my quest? And how do I set these var up?
Any help is welcome, tx!