Struct WaypointTravelOptions
Options a caller passes to TryTravel(IPlayerCharacter, IWaypoint, in WaypointTravelOptions, out WaypointTravelRefusalReason). The server's map request uses the defaults; a designer's TeleportToWaypointAction may relax them.
public readonly struct WaypointTravelOptions
- Inherited Members
Constructors
WaypointTravelOptions(bool, bool, bool)
public WaypointTravelOptions(bool requireUnlocked, bool evaluateConditions, bool allowInCombat)
Parameters
Fields
AllowInCombat
Permit travel while flagged in combat. Off for anything a player initiates.
public readonly bool AllowInCombat
Field Value
Default
The rules a player's own map request is held to.
public static readonly WaypointTravelOptions Default
Field Value
EvaluateConditions
Refuse unless the waypoint's authored travel conditions pass.
public readonly bool EvaluateConditions
Field Value
RequireUnlocked
Refuse unless the traveller has discovered the waypoint.
public readonly bool RequireUnlocked