Jump to content

Actor priorities


lgpmichael

Recommended Posts

After much searching, I find I am going to have to ask again on here - if anyone has an idea how to do what I am aiming for.

 

I need to find - well, don't need but would really like - a way to raise the priority of actors when they are out of the loaded cell.

 

The situation in detail is that part of the mod I am working on involves finding a person hidden somewhere in Blackwood. Pretty daunting with no questmarker.

 

However you can get some help from various NPC's. Fine, except that when searching the area, the NPC's more than a certain distance away from the PC only update very infrequently (they have low level processing turned on, it isn't that), which I assume is because the cell isn't loaded so it uses different rules to determining processor usage. So I stand by the Leyawiin gate and watch the distances from me for the searchers and their distance to the target they are looking for. It only changes about once every 1-2 minutes. This means as they travel from A to B in a randomised search mode they could effectively pass right by their target and never see it, as the quest is checking a GetDistance between searcher and target to see if the target is found. Obviously not what I am looking for.

 

So, what I would like is some way to force actors to higher priority so they update their location every frame, or every few seconds at least.

 

Has anyone ever come across this and have any idea as to how to make it happen?

 

If all else fails I will simply do it all with some trig to calculate the closest distance of the target to a line of the NPC's travel. It will work, but it isn't what I would like to do, as it smells of a hack {:-)

Link to comment
Share on other sites

I recall reading this while learning about message boxes. Since it works for activators (I've tried it), I think it would work the same way for actors.

 

Ohhh comes close but doesnt quite do it. I can bring the actor into memory, and it runs the actors GameMode in this manner, but it doesnt update the position, so GetPos X and GetPos Y still give the

same results over and over. Thats a shame, when I read what you had seen, I was pretty confident it would work too.

 

Thanks anyway!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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