Jump to content

Strange Issue with Activator and Script Initialisation


TyburnKetch

Recommended Posts

So this might be a known thing but I have not encountered it before.

 

I have an invisible activator box that when the player first enters the cell, if activated, it will activate as expected, the scripts will fire, however part of the script (or one of the scripts I have on the activator) although firing, does not actually do what it is supposed to. I have a debug.notification (and trace) to confirm it is firing. If I come out of the activator and immediatley reactive then all the scripts fire, and they do as expected.

 

I have actually narrowed the issue down to TIME. If when entering the cell I wait around 15 secs and then use the activator it all works as expected.

 

Any ideas what this could be about?

 

 

The activator in question opens the mapmenu. I have a large triggerbox around the whole cell that disables fasttravel on trigger enter, but a script on the activator that enables fasttravel. The cell is an interior but I have not ticked the "can't travel from here" flag on the cell properties tab. The map opens, the enablefasttravel fires, but if i click on a known location on the map I get the "you can not fast travel from here" message. Reopen the map (use the activator) and all works well. Or wait 15 secs from entering the cell and the activator, map, scripts all work as expected.


I can work around it, but this is a new issue that has popped up as I have been modding. I am pretty sure when I set the map up (fairly early when creating the mod) that this was not a "thing".

 

 

Thanks for any insights, as always.

Edited by TyburnKetch
Link to comment
Share on other sites

No clue, mate.

 

If it's time related, do you have loads of ambush actors in that cell? I'm wondering if the cell is taking a load of time to sort everything out and gets round to your triggerbox last on its list of priorities. 15 seconds seems massively long, though.

Link to comment
Share on other sites

The issue remains but I have worked around it. If anything the work around makes the whole thing look more impressive than it actually is :)

 

Is pretty strange. There are no mobs in the cell. In fact there is very little at all! Very simple little player home cell. A few scripts firing off here and there but nothing too intensive. At least I do not think. Perhaps I have a script somewhere, or a combination of scripts, that are causing some sort of stutter/loop. Does not affect anything else in the cell as far as i can tell. Just this particular activator.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...