I seem to remember this enemy jitter being discussed before, I remember long words like "interpolation" being used but very little beyond that.
Anyway, main reason I am in here, second time in 24 hours I've been stumped, first ran into a problem with this and scrapped the code (a good thing, it was inefficient anyway).
Basically, I have a waypoint for some AI, I use eventloadactor to get it's lotag into a peractor variable, say, "WAY_LT" but I need this info in another actor, as it is used to tell that actor special things about that point of the path (and running more findnearactor code is likely not good for CPU usage). Anyway, the actor that uses the waypoints does several things, one of them is that once following a path, it will use findnearactor to get the ID of a waypoint in range to a var "WAY_ID" - as soon as WAY_ID is not -1 it stops looking and asks a bit more about the waypoint, a lot like this;
ifvarn WAY_ID -1
{
getactorvar[WAY_ID].WAY_LT WAY_MD // The WAY_MD var is global, WAY_LT is peractor
getactor[WAY_ID].ang STALKER_TANG // This seems to work every time
// Some other stuff is in here, which all seems to do what it is supposed to...
}
The actor successfully gets the angle of the waypoint, which is useful as this is what it tries to change it's own angle to by default, but WAY_LT is always 0. It doesn't stop there, in my previous effort, I set one waypoints xvel (I was using that in place of the lotag at the time, that was already in use) and from then on, it always ended up setting to that one waypoint's xvel, even at other waypoints (dndebug revealed that each waypoint's xvel was 0, as set in eventloadactor, it would only happen with that particular one.
This is all being tested in a new map so I don't think it can be my map being broken, this is the latest EDuke, but I was using one from June when I first ran into the bug (hence updating).
It is more than likely I have misunderstood the purpose of the getactorvar command? I still don't pretend to be any good at CON coding, I can usually get things to work now though without asking for help, so I've let myself down. I can post more code if required.