# How to determine what map is currently being played?

**URL:** <https://forums.unrealengine.com/t/how-to-determine-what-map-is-currently-being-played/127681>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [June 18, 2019, 6:43pm UTC](https://forums.unrealengine.com/t/how-to-determine-what-map-is-currently-being-played/127681 "2019-06-18T18:43:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![randiladywolf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@randiladywolf](https://forums.unrealengine.com/u/randiladywolf)\
**Post date:** [June 18, 2019, 6:43pm UTC](https://forums.unrealengine.com/t/how-to-determine-what-map-is-currently-being-played/127681/1 "2019-06-18T18:43:35Z")

</div>

Hi,  
I wanted to get K2 World \>\> Get DayCycleManager and bind an event to “On Start daytime” but it seems on different maps the daycycle manager has a different name like “SorchedEarthDayCycleManager”

So I thought if I knew the map name I could grab the correct DayCycleManager or do nothing for unknown maps…at present my Get DayCycleManager seems to crash on the Center map.

Is there a way to bind daytime start to an event no matter what map is active?

Please help.

Randi

---

<div class="post-metadata">

**Author:** ![randiladywolf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@randiladywolf](https://forums.unrealengine.com/u/randiladywolf)\
**Post date:** [June 19, 2019, 5:38pm UTC](https://forums.unrealengine.com/t/how-to-determine-what-map-is-currently-being-played/127681/2 "2019-06-19T17:38:19Z")

</div>

Well, it seemed I didn’t need to worry about the map or casting it to any daycycle manager. I was crashing because I had a “Run on Server” event connected to the bind output of the On Nighttime Start event. Once I made that bound event simple it worked. So, I didn’t find an answer to finding the map name but I moved past the error I was getting.

---

<div class="post-metadata">

**Author:** ![SkyeEden](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skyeeden/32/1116094_2.png) [@SkyeEden](https://forums.unrealengine.com/u/SkyeEden)\
**Post date:** [March 9, 2022, 9:34pm UTC](https://forums.unrealengine.com/t/how-to-determine-what-map-is-currently-being-played/127681/3 "2022-03-09T21:34:18Z")

</div>


