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

[Help] Can Fly?

Smarter

Member
Joined
Jan 15, 2010
Messages
763
Reaction score
9
Is there a currently developed method to check for Flying Enabled in Profiles, as to create a profile that will Fly if Flying is Enabled, or Walk otherwise?
 
flyto will fly and walk to that area if u can't fly ... if i recall correctly (assuming the point is walkable to)

but there is a !CanFly() meaning if you can't fly condition
and there is CanFly() as well meaning you can fly

PHP:
		 <If Condition="!CanFly()">
			<CustomBehavior File="UserDialog" StopOnContinue="true" Text="You must be able to fly to use this profile." />
		</If>
 
flyto will fly and walk to that area if u can't fly ... if i recall correctly (assuming the point is walkable to)

but there is a !CanFly() meaning if you can't fly condition
and there is CanFly() as well meaning you can fly

PHP:
		 <If Condition="!CanFly()">
			<CustomBehavior File="UserDialog" StopOnContinue="true" Text="You must be able to fly to use this profile." />
		</If>

When using Fly, and having a point for example, the Zepplin area in Orgrimmar, if it can't fly it just bounces back and fourth at the main entrance to Org .... walking in and out over and over.
 
Smarter said:
When using Fly, and having a point for example, the Zepplin area in Orgrimmar, if it can't fly it just bounces back and fourth at the main entrance to Org .... walking in and out over and over.

Yes, this is a known problem with Flightor (the flying navigator). The FlyTo behavior is built on top of Flightor.

As a profile writer, how you work around this bug is to make certain your FlyTo destination is always outside. If you need to go through a tunnel or inside a building or somesuch, you will need a separate RunTo after the FlyTo lands at a nearby outside destination.

Frequently, you don't even need an explicit RunTo, because the next quest order element (say a PickUp) knows how to move to the NPC by itself.

Just keep FlyTo/Flightor 'outside' and all will be well.



cheers,
chinajade
 
Back
Top