Represents parameters for NavigationProvider.MoveTo.
More...
|
Vector3 | Location [get, set] |
| The location to move to.
|
bool | UseMount = CharacterSettings.Instance.UseMount [get, set] |
| Should the navigator attempt to mount up, this defaults to whatever is selected by the user.
|
string | Destination [get, set] |
float | DistanceTolerance = DefaultDistanceTolerance [get, set] |
| The distance tolerance to get within Location.
|
ushort? | MapId [get, set] |
| The map ID of the location.
|
bool | MoveImmediately = true [get, set] |
| If true , instructs the nav provider to move immediately once the path has been generated, so the player will start moving at the same time as MoveResult.PathGenerated is returned. If false , instructs the nav provider to wait until the next movement request after the path generation has finished to begin moving. This is for example useful for inspecting the path if it succeeds and aborting the navigation if the path generated was too long.
|
Represents parameters for NavigationProvider.MoveTo.
◆ MoveToParameters() [1/2]
ff14bot.Pathing.MoveToParameters.MoveToParameters |
( |
| ) |
|
◆ MoveToParameters() [2/2]
ff14bot.Pathing.MoveToParameters.MoveToParameters |
( |
Vector3 | location, |
|
|
string | destination = null ) |
◆ ToString()
override string ff14bot.Pathing.MoveToParameters.ToString |
( |
| ) |
|
Gets a string representation of these parameters.
◆ WorldState
WorldState ff14bot.Pathing.MoveToParameters.WorldState |
◆ Destination
string ff14bot.Pathing.MoveToParameters.Destination |
|
getset |
◆ DistanceTolerance
float ff14bot.Pathing.MoveToParameters.DistanceTolerance = DefaultDistanceTolerance |
|
getset |
The distance tolerance to get within Location.
- Exceptions
-
ArgumentOutOfRangeException | Thrown if the property is set to a value that is 0 or lower. |
The default value for this property is 5.0f
.
◆ Location
Vector3 ff14bot.Pathing.MoveToParameters.Location |
|
getset |
◆ MapId
ushort? ff14bot.Pathing.MoveToParameters.MapId |
|
getset |
The map ID of the location.
If null
, use current map.
◆ MoveImmediately
bool ff14bot.Pathing.MoveToParameters.MoveImmediately = true |
|
getset |
If true
, instructs the nav provider to move immediately once the path has been generated, so the player will start moving at the same time as MoveResult.PathGenerated is returned. If false
, instructs the nav provider to wait until the next movement request after the path generation has finished to begin moving. This is for example useful for inspecting the path if it succeeds and aborting the navigation if the path generated was too long.
Default value: true
.
◆ UseMount
bool ff14bot.Pathing.MoveToParameters.UseMount = CharacterSettings.Instance.UseMount |
|
getset |
Should the navigator attempt to mount up, this defaults to whatever is selected by the user.