# Set Path Display Step Midpoint

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

# Arguments

  • int [ path ] — Path Display
  • int [ preset::PathDisplayLocation ] — Location
  • fixed — Midpoint

Returns — void

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

Category: UI / Path Display

# Examples

# mods/heroes.stormmod

MapScript.galaxy

// L390
PathSetStepMidpoint(PathLastCreated(), c_pathLocationWorld, 0.5)
// L2354
PathSetStepMidpoint(PathLastCreated(), c_pathLocationWorld, 0.5)
// L390
PathSetStepMidpoint(PathLastCreated(), c_pathLocationWorld, 0.5)
// L2354
PathSetStepMidpoint(PathLastCreated(), c_pathLocationWorld, 0.5)