SC2Mapster.com Wiki

Galaxy / Triggers / Category Point

Point

Creation And Modification

Point From XY

  • 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

  • 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

  • Moves a point to the specified position.

Make Point Face Angle

  • Changes the facing of a point.

Set Point Height

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

Measurements

Angle Between Points

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

Distance Between Points

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

Facing Angle Of Point

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

Height Of Point

  • 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

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

Y Of Point

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

Point Is In Region

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

Offsets

Point Facing Angle

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

Point Offset Towards Point

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

Reflected Point

  • 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

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

Point With Polar Offset

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

Point With Z Offset

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

Random Point Between Points

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

Pathing

Pathing Cost Between Points

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

Points Connected By Pathing

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

Point Is Passable

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

You must login to post a comment. Don't have an account? Register to get one!