Results 1 to 2 of 2
  1. #1

    Getting current Map

    Hello Community

    Right now i make a Plugin for a little Friends project and now i have a Problem with the nextmap command
    how do i get the current mapname or the mapindex??
    Last edited by Blackfire499; 02-04-2016 at 20:22.

  2. #2
    OK so this is not as easy as you would think...

    The procon event OnMapListList provides a list of MaplistEntry objects. The procon event OnMapListGetMapIndices provides the current map index (mapIndex) and next map index (nextIndex).

    You can get the map file name from the list of MaplistEntry objects if you know the current map or next map index. But, if you want the friendly map name that you are familiar with like "Siege of Shanghai" it takes more work.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts