A few questions regarding what can and can't be done at Party Creation...
First & Foremost - can we somehow access / create a drawGui function while creating champions ??
.... what Ive messed around with so far ....
When I choose to start a New Game (vanilla campaign), I can access the Party object w the console
>>> print(party.party) returns a table
Ive tried messing with a few things:
1. party.party:move(dir) & party.party:turn(dir)
>>> but nothing happens (prints nil to the console)
2. party.party:rest() & wakeup()
>>> will actually fade out the screen to black
(and I assume allows time to pass as if you are resting too, because I woke up and it was night time )
>>> if there is a champion created then a table is returned and I can use getName() ....
>>> ordinal slots not yet containing a champion will return a table too but return false with getEnabled()
But! None of this can be done if choosing to play a custom dungeon (party.party returns nil)
I defined a party object in a test dungeon which printed INITIALIZE in its onInit hook...
>> spawn("party") did indeed spawn the party object (with print) ......
but then must have been destroyed as trying to access the party object afterwards returned nil
Other things:
It seems the main menu is Level: 0, called "Unnamed" and party.map:isVisited() returns true
The main menu level also contains the objects defined in the asset pack's mainmenu.lua
(menu_fog / island / ocean / sky / camera / heightmap) - But! .....
standard_assets.lua shows that mainmenu.lua is not imported with the rest of the asset packs lua files ? ?
I decided to disable / move those menu objects around and take some pics to feel like I had done something useful w my time
Basically, I would like to know what is and isnt possible to mess with while the main menu party creation is going on
specifically, can I use any draw functions / access the / any party object at this stage
I tried searching for answers here obviously but came up w nothing
Any help or guidance regarding any of the above would be rather splendid
Akroma