# Can't access a function from a preceding type

**URL:** <https://forums.unrealengine.com/t/cant-access-a-function-from-a-preceding-type/1656274>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [January 31, 2024, 5:02pm UTC](https://forums.unrealengine.com/t/cant-access-a-function-from-a-preceding-type/1656274 "2024-01-31T17:02:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![SatoriFN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/satorifn/32/720436_2.png) [@SatoriFN](https://forums.unrealengine.com/u/SatoriFN)\
**Post date:** [February 2, 2024, 1:30pm UTC](https://forums.unrealengine.com/t/cant-access-a-function-from-a-preceding-type/1656274/2 "2024-02-02T13:30:43Z")

</div>

Hi @ok_studios I had the same issue. We found a few solutions over at this thread that I posted:

> [@Issue with documentation tutorial: "Create your own NPC Medic"](https://forums.unrealengine.com/t/issue-with-documentation-tutorial-create-your-own-npc-medic/1643660/5):
>
> @SatoriFN This is a tricky problem with the current compiler. Parametric classes like the queue are not currently usable outside of their file, but putting the file that calls the generic class in a submodule resolves this. Check step 2.6 in the “Healing Characters inside a volume” of the medic tutorial, that’s the part that covers moving the medic\_example into its own separate submodule. In a future version of Verse this step should be unnecessary - parametric classes like queue.verse will be u…

---

_[View the full topic](https://forums.unrealengine.com/t/cant-access-a-function-from-a-preceding-type/1656274)._
