# Set Path Display Step Midpoint

Grammar — Set pathDisplay Step Midpoint to midpoint For location
FlagsNative | Action

# Arguments

Returns — void

native void PathSetStepMidpoint(
	int inPathId,
	int inLocation,
	fixed inMidpoint,
);

Category: UI / Path Display

# Examples

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:390

    PathSetVisible(PathLastCreated(), c_pathLocationWorld, true);
    PathSetVisible(PathLastCreated(), c_pathLocationMinimap, false);
    PathSetStepMidpoint(PathLastCreated(), c_pathLocationWorld, 0.5);
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:2354

    PathSetVisible(PathLastCreated(), c_pathLocationWorld, true);
    PathSetVisible(PathLastCreated(), c_pathLocationMinimap, false);
    PathSetStepMidpoint(PathLastCreated(), c_pathLocationWorld, 0.5);
    return true;
}

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:390

    PathSetVisible(PathLastCreated(), c_pathLocationWorld, true);
    PathSetVisible(PathLastCreated(), c_pathLocationMinimap, false);
    PathSetStepMidpoint(PathLastCreated(), c_pathLocationWorld, 0.5);
}

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:2354

    PathSetVisible(PathLastCreated(), c_pathLocationWorld, true);
    PathSetVisible(PathLastCreated(), c_pathLocationMinimap, false);
    PathSetStepMidpoint(PathLastCreated(), c_pathLocationWorld, 0.5);
    return true;
}