[solved] Custom dialog text "center" placement

Discussion of Lua and LuaWML support, development, and ideas.

Moderator: Forum Moderators

white_haired_uncle
Posts: 1310
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

Re: [open] Custom dialog text "center" placement

Post by white_haired_uncle »

I'm not sure what you mean, but if it works differently only when run during a start (or prestart) event, I would guess that maybe gamemap_width isn't set yet at that point (which I would consider a bug if it happens in start, but I could be wrong). You could try moving it to "side 1 turn 1" or "turn 1" or something like that which happens at the start but not in "start"?
Speak softly, and carry Doombringer.
User avatar
ZombieKnight
Posts: 283
Joined: June 27th, 2022, 2:26 pm
Location: Czech Republic

Re: [open] Custom dialog text "center" placement

Post by ZombieKnight »

white_haired_uncle wrote: May 11th, 2024, 11:19 am I'm not sure what you mean, but if it works differently only when run during a start (or prestart) event, I would guess that maybe gamemap_width isn't set yet at that point (which I would consider a bug if it happens in start, but I could be wrong). You could try moving it to "side 1 turn 1" or "turn 1" or something like that which happens at the start but not in "start"?
Weird thing: doesn't work in turn 1 event, if there's no start event.
any idea what causes that behavior?
I had saurian in profile before, but I've merged my discord profile with forum one...
Working on campaign Bandits from Brown Hills
Post Reply