# Set Path Display Minimum Travel Distance

FlagsNative | Action

Travel distance measures the accumulated separation between each turn on a path.

# Arguments

  • int<path> — Path Display
  • fixed — Distance

Returns — void

native void PathSetMinimumTravelDistance(
	int inPathId,
	fixed inDistance,
);

Category: UI / Path Display

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:1229

    PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
    PathSetMinimumStepCount(PathLastCreated(), 0);
    PathSetMinimumTravelDistance(PathLastCreated(), 3.0);
    PathSetMinimumLinearDistance(PathLastCreated(), 3.0);
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\storm_waypointline_game.dds");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:8018

    PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
    PathSetMinimumStepCount(PathLastCreated(), 0);
    PathSetMinimumTravelDistance(PathLastCreated(), 0.0);
    PathSetMinimumLinearDistance(PathLastCreated(), 3.0);
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\storm_waypointline_game.dds");