Changing minimap

Lmfaocj

Active Member
Reaction score
1
I want to know how to change the mini map to look like the area the hero is in.

say if i went in to a dungeon is there away to change the minimap to only look like that dungeon?
 

TomTTT

New Member
Reaction score
44
Periodcly create visibility modifier that emitting Black Mask across the map, then create a visibility modifier that emitting visibility around the hero. Set both to variables and delete them at the start each time. Something like:
Trigger:
  • Events
    • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12 do (Actions)
        • Loop - Actions
          • Visibility - Destroy VisBlackMask[(Integer A)]
          • Visibility - Destroy VisVisibility[(Integer A)]
          • Visibility - Create an intially enabled visibility modifer emitting Black mask across (Playable map area)
          • Set VisBlackMask[(Integer A)] = (Last created Visibility modifier)
          • Set Point = (Position of HERO[(Integer A)]
          • Visibility - Create an intially enabled visibility modifer emitting Visibility across (Region centered at Point 400,400)
          • Set VisVisibility[(Integer A)] = (Last created Visibility modifier)

HERO is the unit array variable. It's something I do to reffer to the hero, in all of the maps. When you create it, you set it to the HERO and then the array number.
(By the way, the GUI code is handwritten, so sorry if it's hard to understand)
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
Periodcly create visibility modifier that emitting Black Mask across the map, then create a visibility modifier that emitting visibility around the hero. Set both to variables and delete them at the start each time. Something like:
Trigger:
  • Events
    • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12 do (Actions)
        • Loop - Actions
          • Visibility - Destroy VisBlackMask[(Integer A)]
          • Visibility - Destroy VisVisibility[(Integer A)]
          • Visibility - Create an intially enabled visibility modifer emitting Black mask across (Playable map area)
          • Set VisBlackMask[(Integer A)] = (Last created Visibility modifier)
          • Set Point = (Position of HERO[(Integer A)]
          • Visibility - Create an intially enabled visibility modifer emitting Visibility across (Region centered at Point 400,400)
          • Set VisVisibility[(Integer A)] = (Last created Visibility modifier)

HERO is the unit array variable. It's something I do to reffer to the hero, in all of the maps. When you create it, you set it to the HERO and then the array number.
(By the way, the GUI code is handwritten, so sorry if it's hard to understand)

Totally unrelated to the question :p He was talking about the minimap..

Alternatively, you could use
Trigger:
  • Camera - Set the camera bounds for Player 1 (Red) to No region

But this doesn't really change the minimap, only make it fit your view. You'll understand when you use it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top