Open Tobschinski opened 10 years ago
What is this missing script?
On we talked about this one on IRC, on WP 10, it should switch to movement-type 1 for 150 seconds. After that switch back to type 2, but whatever I tried, it runs back to WP 1.
Ah yes, I remember. In theory, dataflags = dataflags | 0x08 should work, but I never tried. A possible workaround would be to permutate all waypoints in order to have the one with the script at the end. This way, the NPC moving back to WP1 would be normal as it would have been the next WP any way.
Dataflag 0x08 works if you change the movement from 2 -> 1. But it seems to have no effect for 1 -> 2.
I will ask XF about it.
I can confirm that, because I've noticed the same issue when spawning Dire Maul. When you switch back to waypoint movement, it always seems to start with waypoint 1 again, instead of continuing where it left. I can understand why though, but it's annoying in some cases.
@Tobschinski
A possible workaround would be to permutate all waypoints in order to have the one with the script at the end. This way, the NPC moving back to WP1 would be normal as it would have been the next WP any way
I'm currently backporting UDB rev407 release and I noticed that this workaround is used a couple of times. So I assume we can safely go down that road.
That is a temp workaround, you would have to move the Corehound to a new spawn position and lose official data. I don't know about that.
I never had the opportunity to use it, yet, but I think the curwaypoint in creature table should allow you to spawn the NPC in the middle of a pathway, at said waypoint instead of waypoint 1.
I've tried it once,with the Obsidian Eradicator in AQ40, but without success. Not sure if I did something wrong there.
possible core issue here
I'm with @Tobschinski here. I also believe the curwaypoint doesn't work as intended. I used it twice for Dire Maul spawns, and the NPCs happily start running around at the first waypoint.
I haven't checked the core code to figure out what goes wrong. So I'm not complaining, but just pointing it out.
Waypoints for Ancient Core Hounds were customly done, or are even missing.Some dogs switch between random and waypoint movement.Update is needed.One of the Corehounds has a little script, it is missing.