Custom Player Map Marker

1 post in this topic

Hallo everyone , 

i want to overwrite client file to change the rule of showing player map marker , if player got GPS equiped , then he can see his player marker on his map , but next i want to do more on this , like if other group players didn't have GPS equip , then the player(already got GPS equip) won't be able to see them on map.  here's my overwrite , but i'm not sure the group players part can work , anyone can help me ?


 * ExileClient_gui_map_event_onDraw
 * Exile Mod
 * © 2015 Exile Mod Team
 * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. 
 * To view a copy of this license, visit
    deleteMarkerLocal _x;
if ("ItemGPS" in (AssignedItems player)) then
    forEach ExileClientPartyMapMarkers;
        _marker = createMarkerLocal [format ["ExilePartyMarker%1", _forEachIndex], getPosVisual _x];
        _marker setMarkerShapeLocal "ICON";
        _marker setMarkerTypeLocal "ExilePlayer";
        _marker setMarkerDirLocal (getDirVisual _x);
        _marker setMarkerAlphaLocal 0.75;
        if (_x isEqualTo player) then 
            _marker setMarkerColorLocal "ColorBlue";
            if ("ItemGPS" in (AssignedItems group player)) then 
            _marker setMarkerColorLocal "ColorGreen";
            _marker setMarkerTextLocal (name _x);
        ExileClientPartyMapMarkers pushBack _marker;
    forEach units (group player);


Edited by KevinClyde

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.