Plugin files for UE4.15, 4.16 and 4.17 have received an update.
The update is available via the launcher! It adds the following features.
Support for Mac
Development and packaging have been tested on Mac. This new plugin update is confirmed to work with Mac and Mac is now listed as a supported platform for all engine versions.
NEW: Icon categories
Icons can now be assigned an icon category, for example “resource”, “building”, etc. Per minimap you can toggle the visibility of icon categories.
How to use this feature:
- On an actor’s MapIconComponent, fill in a value in its IconCategory field.
- On the MapViewComponent that defines the minimap’s view area, access or change a category’s visibility via IsIconCategoryVisible(…) / SetIconCategoryVisible(…)
The icons will automatically update their visibility based on these settings. If you want other UI or world elements reacting to icon category visibility, the MapViewComponent fires an BP and C++ assignable event OnVisibleCategoriesChanged.
NEW: Minimap box selection
Minimap widgets now have an setting to enable box selection. If enabled, the user can click and drag on the minimap to draw a selection box. When the mouse is released, the minimap widget fires an event that supplies a list of icons that was inside the box selection. Only visible icons will be included in the list; icons hidden due to their visibility setting, category setting or fog of war won’t be included. Additionally, the event supplies which mouse button was used and whether ctrl and/or shift was pressed when the box selection started.
Minimap events: LMB and RMB
The existing Minimap widget event **OnMapClicked **and MapIconComponent event OnIconClicked now supply a boolean IsLeftMouseButton so that when those events fire, you know whether it was a left mouse or right mouse button click that fired it.
Fix: Regenerated background not appearing correctly
Fixed a bug that was causing the minimap to show a default texture (2x2 grid) after calling the MapBackground function RerenderBackground. This only affected projects in a top-down render was shown on the minimap and this render was refreshed in run-time.
Hope you enjoy this update. Please consider leaving a rating or comment on the marketplace page](https://www.unrealengine.com/marketplace/journeyman-s-minimap).