Unload Expansion
-
I can see the unloadExpansion() function in the API but I'm not sure how to call it?
I am trying to unload the currently loaded expansion at certain points but not sure what should go in front of it?
Is it exphandler, current expansion etc that goes before unloadExpansion();Thanks in advance
-
@rzrsharpeprod This removes the expansion from the list of expansions you'll see when you call
ExpansionHandler.getExpansionList(), I don't think that's what you want. -
@David-Healey no it isn't you're right.
I'm just looking for a way to 'unload' an expansion when I go back to banks page really for a couple of reasons.
Is there a way to do that or something similar?
-
@rzrsharpeprod If you load a preset from the base preset folder then I think that will effectively unload the expansion
-
expansionHandler.setCurrentExpansion(""); -
-
@Christoph-Hart yes thankyou I figured that out after I posted and it is working as required.
Much appreciated -
@David-Healey ha how do you think I feel, I'd already used it and got rid of it earlier in the project

