SimpleFlyTo Tag
Here's a straightforward flight implementation. This tag will:
Usage:
Required:
Optional:
View attachment SimpleFlyToTag-0.2.cs
Version 0.2
Version 0.1
Here's a straightforward flight implementation. This tag will:
- Mount if not already mounted using MountId. You're in charge of dismounting/using company chocobo if companion is summoned, etc.
- Orient you towards your target
- Take flight and ascend to Altitude. This is the 'Y' value of Vector3 objects (i.e. Core.Me.Location). Make sure this is high enough to clear all obstacles, otherwise you'll get pushed from the straight trajectory and the bot will never arrive and stop.
- Fly in a straight line to within Radius of XYZ
- Descend until it can't descend anymore.
Usage:
Code:
<SimpleFlyTo XYZ="460.0172, -51.1414, 54.38672" Altitude="-31.96687" MountId="45" Radius="1.0" LandAfter="False" />
<SimpleFlyTo XYZ="-225.302, 165.2225, 552.2371" />
Required:
- XYZ - Where you want to end up. The Y parameter is ignored
Optional:
- Altitude - The altitude to fly at - if omitted, no vertical movement will occur.
- Radius - (Default: 3.0)
- LandAfter - Will Land After arriving above the location. Default: True
- MountId - The mount to use if not already mounted. 1: Company Chocobo. 45: Black Chocobo (Default: 1 - Company Chocobo)
View attachment SimpleFlyToTag-0.2.cs
Version 0.2
Code:
- Tag has been renamed to SimpleFlyTo to differentiate it from the eventual official release of a FlyTo. You'll have to find/replace all your old profiles.
- With RB v310 release, bot can now turn in midair for course corrections. API support also removes need for keybindings.
- Bot can now descend to specified Altitude if Altitude is below current location.
- Altitude now optional, omitting it will result in no vertical movement after taking off.
- LandAfter attribute added, defaults true to support initial release
- Tag will fail if not already mounted and in combat so we don't block CRs
Version 0.1
Code:
- Original release based on keybindings
Last edited: