I have an issue with scripting a custom solo campaign in a titlepack.
I have created a manialink which I load into UIAll like this:
Code: Select all
declare mapSelector = UIManager.UILayerCreate();
UIManager.UIAll.UILayers.add(mapSelector);
mapSelector.ManialinkPage = """[...]""";
Code: Select all
main () {
declare netwrite mapSwitchNow for UI = 0;
declare netwrite selectedMap for UI = 0;
[...]
}
Code: Select all
declare netread mapSwitchNow for UIManager.UIAll = 0;
declare netread selectedMap for UIManager.UIAll = 0;
Code: Select all
The objects of type CGamePlaygroundUIConfig does not support declaration of attribute mapSwitchNow.
Would be really sad, because then I wouldn´t be able to create a very cool solomode...

Pls also remember my last post in the other thread about solo-campaign scripting