SC2Mapster Wiki
Advertisement

Creation And Modification[ | ]

Point From XY[ | ]

  • Function. Returns a 2D location as a point. This allows you to specify any location on the map grid as a viable value for a point parameter.

Point From XYZ[ | ]

  • Function. Returns a 3D location as a point. This allows you to specify any 3D location on the map as a viable value for a point parameter.

Move Point[ | ]

  • Action. Moves a point to the specified position.

Make Point Face Angle[ | ]

  • Action. Changes the facing of a point.

Set Point Height[ | ]

  • Action. Changes the height of a point, relative to the terrain.

Measurements[ | ]

Angle Between Points[ | ]

  • Function. Returns the angle from point 1 to point 2 as a real value, in degrees.

Distance Between Points[ | ]

  • Function. Returns the distance between two points as a real value.

Facing Angle Of Point[ | ]

  • Function. Returns the facing angle of the specified point as a real value, in degrees.

Height Of Point[ | ]

  • Function. Returns the height of the specified point, relative to the terrain, as a real value. To place a point with a non-zero height in the Terrain Editor, use the Three Dimensional point type.

X Of Point[ | ]

  • Function. Returns the X coordinate of the specified point as a real value.

Y Of Point[ | ]

  • Function. Returns the Y coordinate of the specified point as a real value.

Point Is In Region[ | ]

  • Function. Returns true if the specified point is located within the specified region.

Offsets[ | ]

Point Facing Angle[ | ]

  • Function. Returns a point with the position of the specified point, and the facing of the specified angle.

Point Offset Towards Point[ | ]

  • Function. Returns a point offset by a specified distance toward a target point.

Reflected Point[ | ]

  • Function. Returns the point that an object would bounce to if it was travelling from the source point and hit a wall with the specified normal angle at the target point.

Point With Offset[ | ]

  • Function. Returns a point offset by given horizontal and vertical distances.

Point With Polar Offset[ | ]

  • Function. Returns a point offset by a distance toward an angle, specified in degrees.

Point With Z Offset[ | ]

  • Function. Returns a point with the X and Y position of the specified point, and Z position of the specified Z.

Random Point Between Points[ | ]

  • Function. Returns a random point along the line segment connecting the specified points.

Pathing[ | ]

Pathing Cost Between Points[ | ]

  • Function. Returns the ground pathing cost between two points as an integer.

Points Connected By Pathing[ | ]

  • Function. Returns true if the specified points are connected by ground pathing.

Point Is Passable[ | ]

  • Function. Returns true if the specified point is pathable to ground units.
Advertisement