vK_3_1_RON
(vK_3_1_RON)
September 8, 2023, 4:29pm
1
*When you create a subfolder in a Verse project, a module is automatically created for that folder. *
Does this mean that if this was my project
/ Verse
/ UnrealEngine
/ Fortnite
/ MyProject
/ DomainName
/ HordeSystem
- SpawnPoint.verse
- Horde.verse
- Etc.
In the rest of MyProject, I can access any classes/methods/etc of the HordeSystem by writing
using {/DomainName/HordeSystem}
Thanks
Go ahead and try it, I think I tried once but it didn’t work so I don’t do modules right now. But you can try.
Also I think that the path should be { DomainName/HordeSystem }
with the / character since it’s a relative path. The absolute path must be /localhost/MyProject/DomainName/HordeSystem
or something like this
1 Like
t.tutiya
(t.tutiya)
September 11, 2023, 1:58am
3
Hi. Not a solution to the problem, but if this helps.
Hi. How to access a nested folder’s module in Verse?
For example, if I want to access a module in Sub3.verse placed in the Sub1/Sub2 folder, how should I write the using clause?
Unfortunately, the code below did not work.
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { Sub1}
using { Sub2} #Invalid access of internal module `(/localhost/MyProject230520/Sub1:)Sub2`
using { Sub1.Sub2} #Invalid access of in…
vK_3_1_RON
(vK_3_1_RON)
September 11, 2023, 9:07am
4
Thanks, I got it the other day from the uefn discord but this is definitely a good read for any future people who find this post and need a solution
1 Like
system
(system)
Closed
October 11, 2023, 9:07am
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.