Hi guys i've been working in something and basically what im trying to do is make a new 'tranfer box' aka 'download box',
therefore i have to make my own download manager.
But i'm having some troubles with this, first i tried loading the map with the xmlLoadFile function but that also triggers the
download box, so i moved on to fileOpen.
local mapElement = createElement ( "map" )
local mapMeta = xmlLoadFile ( ":"..getResourceName(map).."/meta.xml" ) -- getting the map's meta in order to get its src
local mapChild = xmlFindChild ( mapMeta, "map", 0 )
local mapSrc = xmlNodeGetAttribute ( mapChild, "src" )
local mapFile = fileOpen( ":"..getResourceName(map).."/"..mapSrc )
local newMapElement = loadMapData ( mapFile, mapElement ) --
here's where im stuck at.. the first parameter must be a node and all i've got is a file.
any feedback will be apreciated :]