gunterlund21 Posted May 30, 2021 Share Posted May 30, 2021 Is it possible to prevent certain clients from using a map marker, I was in Art of the Kill D#@ it!!!! Link to comment Share on other sites More sharing options...
cfrag Posted May 31, 2021 Share Posted May 31, 2021 (edited) Unless you are using the dedicated server API, you can only prevent groups from using markers, and only indirectly: after a unit places a marker, you can then remove the marker immediately. That being said, there currently seems to be a bug that does not reliably return the correct unit in multiplayer during the callback (which you need to access the group it belongs to), so your options right now seem to be limited. What is it that you are trying to accomplish? Maybe there is a work-around. Edited May 31, 2021 by cfrag Link to comment Share on other sites More sharing options...
gunterlund21 Posted May 31, 2021 Author Share Posted May 31, 2021 I'd like to set it so only tactical commander or a specific group can place markers I was in Art of the Kill D#@ it!!!! Link to comment Share on other sites More sharing options...
cfrag Posted May 31, 2021 Share Posted May 31, 2021 3 hours ago, gunterlund21 said: I'd like to set it so only tactical commander or a specific group can place markers In the latter case (specific group) you simply intercept the event callback for place marker, and when invoked simply check if the initiator's group name is among those group names that are allowed to place markers, and remove the mark in all other cases. As stated before, a lingering bug may not correctly set the initiator on some clients in multiplayer, but essentially that is one way you can do it. Link to comment Share on other sites More sharing options...
Recommended Posts