6.40.50.

this is part of my code, checking if such a wrs file exists:

if (NewGame->_fileManager->CheckLoaded("Betapolis.wrs") == true)
{
add_resource ("Betapolis.wrs");
);

this a super simple wdl check

// resource("Betapolis.wrs")

function AddMe()
{

add_resource("Betapolis.wrs");
load("Betapolis.wmb");
}


on_8 = AddMe;


This latter one should add a resouce when a key is hit. It prompts with an error message when I hit the key.
But if I comment out the resource statement aboove and try to load the "betapolis.wmb" (which resides inside the resource) everything works fine.

Last edited by ChildeHarold; 08/17/06 16:41.