![image](https://forum.defold.com/uploads/default/original/3X/3/e/3ef60d99ec41e1f42be406003acc39b5eb082853.png)
The path worked fine earlier, but for some reason It now decides now that it is given indirectly through a dictionary that I can’t find the file.
this line functions correctly
require("!!Scripts.CharacterScripts.Marina")
but this version which I need for my project to work
local CharacterTable = {
[1] = {"!!Scripts.CharacterScripts.Marina", "Sprites.Marina.Marina.atlas"},
}
local Character = tostring(CharacterTable[GetCurrentPlayerCharacters()[self.ID]][1])
require(Character)
for perspective, the line outputted by Character is
!!Scripts.CharacterScripts.Marina
which is exactly the same. HELP!