Skip to content

A repo for controlling the character moving.

License

Notifications You must be signed in to change notification settings

Herculezz55/XIVRunner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XIVRunner

This is a repo in Dalamud for auto-moving the character by inputting positions.

This repo is heavily inspired by awgil/ffxiv_visland.

Getting Started

Add XIVRunner as a submodule to your project:

git submodule add https://github.com/adambennett55/XIVRunner

Add it to your plugin's CSProj file:

<ItemGroup>
	<ProjectReference Include="..\XIVRunner\XIVRunner\XIVRunner.csproj" />
</ItemGroup>

Then, in the entry point of your plugin:

var runner = XIVRunner.XIVRunner.Create(pluginInterface);
runner.Enable = true;

where pluginInterface is a DalamudPluginInterface.

Don't forget to dispose it!

Usage

The character will act in strict accordance with the order of points. So please make sure that your positions are valid. The NaviPts is typeQueue<Vector3>. You can modify it freely.

runner.NaviPts.Enqueue(Service.ClientState.LocalPlayer.Position
	+ new System.Numerics.Vector3(10, 0, 0));

Besides, you can change the MountId to the mount it is called.

About

A repo for controlling the character moving.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%