What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Forcing mesh loading?

cowdude

Active Member
Joined
Feb 17, 2010
Messages
337
Reaction score
27
Hi,

I'm working on a simple GOTO plugin and I use Tripper.Navigation.Navigator.FindMeshHeight to find Z coord of a XY point.

It doesnt seem to work if HB hasnt been started-stopped. I guess that's because it has not yet loaded mesh tiles.... If that's right, is there a way to load the mesh folder and check if it is set?

Thanks for any advice :-)
 
Hi,

I'm working on a simple GOTO plugin and I use Tripper.Navigation.Navigator.FindMeshHeight to find Z coord of a XY point.

It doesnt seem to work if HB hasnt been started-stopped. I guess that's because it has not yet loaded mesh tiles.... If that's right, is there a way to load the mesh folder and check if it is set?

Thanks for any advice :-)

Call BotEvents.PulseEvents and it will load the mapfiles. I suggest you keep calling this, as it will automatically figure out when you have changed maps as well in that case.
 
Back
Top