[Solved] Minimap Implementation changed in Dropship?

LirielLiriel Join Date: 2013-05-20 Member: 185302Members
edited February 2014 in Modding
In my mod I used to call
player.minimapVisible=false
to hide friendlies (same team) on the minimap.
This no longer works...
I guess my approach is totally wrong and I would be thankfull for any insight you can give.

Comments

  • LirielLiriel Join Date: 2013-05-20 Member: 185302Members
    I found a way:
    local client = Server.GetOwner(player)
    // client may be nil if the server is shutting down.
    if client then
        client:SetRelevancyMask(kRelevantToReadyRoom)
    end
    
    now I just need to figure out a relevancy mask that fits my requirements
Sign In or Register to comment.