SetMiniMap( <material name>, <upper-left x>, <upper-left y>, <lower-right x>, <lower-right y> )


Module: Level

Summary:

Sets the info for the satelite map on the compass.



Example:

SetMiniMap( "compass_map_default", 12672, 5824, -4224, -11072 );



Required Args:

  • 1 : <material name> The name of the satelite map material
  • 2 : <upper-left x> X-coordinate of the world location of the upper-left corner of the material
  • 3 : <upper-left y> Y-coordinate of the world location of the upper-left corner of the material
  • 4 : <lower-right x> X-coordinate of the world location of the lower-right corner of the material
  • 5 : <lower-right y> Y-coordinate of the world location of the lower-right corner of the material