)1) Script on object: What would seem most elegant to me is to have a script that checks for the month once when a parent object is loaded in the cell as the player enters or nears an area. I've been experimenting with putting a script on an object or actor based on the OnCellLoad() or OnCellAttach() Event. So, far I haven't been able to get it working right. This is the current text I've been running, attached to an elk inside Whiterun. It never disables (although I start it disabled, so perhaps the problem is the script enables it regardless of month.)
Scriptname QutElkTestSctipt extends ObjectReference GlobalVariable Property Month Auto Event OnCellAttach() if Month.GetValue() == 1 Self.Enable()else Self.Disable()endifendevent
It could be I'm not getting the syntax right, but I'd be curious if you think such a simple script would work efficiently and reliably in the first place. I've read some posts that complain about the reliability of OnCellAttach().
2) A second solution would be to modify the method used by the Khajit caravans, which use an AI travel package to trigger stages of a master quest that handles the enabling and disabling of their camps. I am planning to have "Master" NPC that travels around to various festivals, so I could work with this, but it feels a little clunky to me. I suppose another way would be to have an invisible actor (I'd probably pick a Skeever) running around making this possible, so that I could have my master NPC have a more complex schedule.
3) I'd be curious if there is a month-change event in the system. In other words, would my scripts have to be placed on a object or triggered by a quest, or is there a way to have a script trigger at the change of a day or month? Where might I start looking if this is a feasible option. How does the engine decide when it's time to switch the name of the month? And can scripts be extended off of that function without messing things up?
So, in short, these seem to be object, quest, or global script-based methods, obviously still in the rough.
And if you all think more than one method would work, which do you think would be the least resource intensive?
