This may not give you a complete solution. But feel free to take a look at this strategy game template tutorial series I have done a while ago.
Unreal Engine 5 - Real Time Strategy Game Tutorial Series
These are the topics I have touched in this series so far.
These are the topics I have been worked on so far in the series,
- Strategy game player controller
- Strategy game camera controls
- Unit Selection and move commands
- Fog of war
- Dynamic animated cursor changes when hovering on objects based on available actions
- Select and Command multiple characters
- Box selection of units
- Unit tracking
- Minimap and minimap navigation
- Multiplayer replication
- Multiplayer- Unit ownership
- Combat mechanisms
- Defense towers