# Can I hook a Save Level Event on UE?

**URL:** <https://forums.unrealengine.com/t/can-i-hook-a-save-level-event-on-ue/581511>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, Tools, UE4, question, UE4-27\
**Created:** [June 14, 2022, 9:01am UTC](https://forums.unrealengine.com/t/can-i-hook-a-save-level-event-on-ue/581511 "2022-06-14T09:01:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LikeThatAng](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/likethatang/32/870907_2.png) [@LikeThatAng](https://forums.unrealengine.com/u/LikeThatAng)\
**Post date:** [June 14, 2022, 9:01am UTC](https://forums.unrealengine.com/t/can-i-hook-a-save-level-event-on-ue/581511/1 "2022-06-14T09:01:54Z")

</div>

I wanna make a external data for each level, but at this point. I have to export it manually.  
Is there any way to hook a save level event from Unreal Engine so I can make it automatically?

I’ve found a action set which named FLevelEditorCommands::Save(~~~) seriese.  
But It’s linked on the FLevelEditorActionCallbacks::Save which is actually save the level.

I don’t know is it ok or possible to make the action redirected or injecting some of my custom code.  
Any idea?

---

<div class="post-metadata">

**Author:** ![waltran](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@waltran](https://forums.unrealengine.com/u/waltran)\
**Post date:** [November 28, 2023, 4:56pm UTC](https://forums.unrealengine.com/t/can-i-hook-a-save-level-event-on-ue/581511/2 "2023-11-28T16:56:44Z")

</div>

Hi, Sorry for upping an old topic but have you found any solution for this?

---

<div class="post-metadata">

**Author:** ![LikeThatAng](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/likethatang/32/870907_2.png) [@LikeThatAng](https://forums.unrealengine.com/u/LikeThatAng)\
**Post date:** [March 13, 2024, 9:35am UTC](https://forums.unrealengine.com/t/can-i-hook-a-save-level-event-on-ue/581511/3 "2024-03-13T09:35:17Z")

</div>

I think I stumbled upon the feature I was looking for by chance. It seems like using the FOnPostSaveWorld or FOnPreSaveWorld delegate events included in FEditorDelegates might do the trick. I haven’t actually used it yet; I found it while searching for something else, but I remembered asking this question, so I came back to answer it.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [April 12, 2024, 9:36am UTC](https://forums.unrealengine.com/t/can-i-hook-a-save-level-event-on-ue/581511/4 "2024-04-12T09:36:13Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
