# Calling nonexistent functions from blueprints

**URL:** <https://forums.unrealengine.com/t/calling-nonexistent-functions-from-blueprints/39035>\
**Category:** Modding\
**Tags:** unreal-engine\
**Created:** [August 19, 2015, 5:54pm UTC](https://forums.unrealengine.com/t/calling-nonexistent-functions-from-blueprints/39035 "2015-08-19T17:54:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaspi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kaspi](https://forums.unrealengine.com/u/Kaspi)\
**Post date:** [August 19, 2015, 5:54pm UTC](https://forums.unrealengine.com/t/calling-nonexistent-functions-from-blueprints/39035/1 "2015-08-19T17:54:48Z")

</div>

So, I’m trying to figure out if I could make [my game](http://steamcommunity.com/sharedfiles/filedetails/?id=458586980) moddable. It is kind of a 3D platformer, where you have to run/jump through a level within a time limit.

Currently, modding the game requires basically just level design skills and a tiny bit of blueprinting experience. With the current version, the whole thing you have to do to make your level game-compatible is to create two trigger volumes at the start and finish of the level and these volumes will call API\_StartTime() and API\_StopTime() functions from the current HUD blueprint. Very simple.

The problem is that to be able to call these two (and a couple of other) functions, the HUD blueprint needs to be present in the project UE (of course). You just can’t call a function from a blueprint that doesn’t exist in the project. If I wanted to make the game publicly moddable, I wouldn’t like to expose the whole game project to anyone who wants to try to make a level to my game.

The best scenario would be if a potential modder could just create a new empty UE project, create the level completely independent to the game, then _somehow_ add calls to the game’s API functions from the level blueprint without having the actual game’s blueprints available (maybe an engine plugin could do, somehow?). And finally to test the level, would then migrate it to the game’s levels directory and run the game, which would offer to play the newly added level.

Can you think of any way how to achieve this in general?

I’m looking for any tips, thoughts or even anyone who would like to help me with this “research” in practice.

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [August 27, 2015, 6:32am UTC](https://forums.unrealengine.com/t/calling-nonexistent-functions-from-blueprints/39035/2 "2015-08-27T06:32:05Z")

</div>

Sounds like a job for C++, and not even some normal C++ code, but a piece of code that could retrieve data from other projects for usage of functions, etc… 😕 Also, your game looks great, and just gave me a fantastic game idea of my own 😃

---

<div class="post-metadata">

**Author:** ![Kaspi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kaspi](https://forums.unrealengine.com/u/Kaspi)\
**Post date:** [August 28, 2015, 10:07pm UTC](https://forums.unrealengine.com/t/calling-nonexistent-functions-from-blueprints/39035/3 "2015-08-28T22:07:44Z")

</div>

Glad to help.
