Change minimap (ingame) Image with Lua

Status
Not open for further replies.
Level 2
Joined
Aug 2, 2018
Messages
11
Hey hello everyone, can someone help me with this? , i already change the minimap imagen (ingame) with war3MapMap.blp but the problem is, that i need to remove that imagen from the minimap when the game starts, i use that image to make pretty the map in the room , but in game i dont want it, there is some way to remove it in game? i cant use custom script because i have lua and i cannot change back to Jass

Please help me

Edit: i use war3mapmap and not war3mappreview because wc3 1.32 war3mappreview doesnt works

Edit 2: Custom script: call BlzChangeMinimapTerrainTex("war3mapImported\YourMap.blp")

I tried that but because i use lua didnt work T.T , and i need lua because i am currently using a system that needs lua
 
Last edited:
Level 2
Joined
Aug 2, 2018
Messages
11
BlzChangeMinimapTerrainTex("war3mapImported\\Imagen.blp") i put that in a custom script but it doesnt do anything, the event is when i tip "play" and when i tip play nothings happens.
 
Level 12
Joined
Jan 30, 2020
Messages
875
Out of doubt as I planned to add my own minimap texture ingame and a different one to display in the lobby, I can assure you that everything works fine.

But you have to use BlzChangeMinimapTerrainTex at Map Initialization, not something like "when i tip "play"" because it makes no sense.

In your trigger, in events just use the one displayed by default when you click on New Event.
then in actions use :
  • Change Minimap
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Custom script: BlzChangeMinimapTerrainTex("war3mapImported\\YourMap.blp")
 
Status
Not open for further replies.
Top