Search found 243 matches
- May 16th, 2024, 7:24 pm
- Forum: Lua Labs
- Topic: [resolution] problems
- Replies: 4
- Views: 134
Re: [resolution] problems
Hmmff
That's poor
How to make my dialog working then?
- May 16th, 2024, 6:47 pm
- Forum: Lua Labs
- Topic: [unsolvable] Access event content
- Replies: 9
- Views: 288
Re: [unsolvable] Access event content
Hmm
... I see
I wanted to save and load anything at any time.
... I see
I wanted to save and load anything at any time.
- May 16th, 2024, 2:56 pm
- Forum: Lua Labs
- Topic: [unsolvable] Access event content
- Replies: 9
- Views: 288
Re: [unsolvable] Access event content
... hmm not sure
Can I use wesnoth.game_events.on_event and wesnoth.current.event_context to re-create all those events (right after I erase them)?
Can I use wesnoth.game_events.on_event and wesnoth.current.event_context to re-create all those events (right after I erase them)?
- May 16th, 2024, 8:41 am
- Forum: Lua Labs
- Topic: [resolution] problems
- Replies: 4
- Views: 134
Re: [resolution] problems
You can't use side 1 turn 1, or turn refresh, or one of those? Jup I can. BUT I need to have start event so turn 1 works. AND whenever I change theme dialog only works in next event (not one that is fired with [fire_event]) So I need to know why does it overwrite only after event. Any idea what mig...
- May 16th, 2024, 8:31 am
- Forum: Lua Labs
- Topic: [unsolvable] Access event content
- Replies: 9
- Views: 288
- May 16th, 2024, 7:30 am
- Forum: Lua Labs
- Topic: [resolution] problems
- Replies: 4
- Views: 134
[resolution] problems
Why does in start event gamemap_size == screen_size ? How to repair it so gamemap_size == actual_gamemap_size ? The green area is on x=0. y=0, w = "(gamemap_width)", h = "(gamemap_height)" (so it should be only above the gamemap) In start event: (doesn't work) Screenshot_20240516...
- May 16th, 2024, 7:19 am
- Forum: Lua Labs
- Topic: [~solved] Global_variables with Lua
- Replies: 4
- Views: 202
Re: Global_variables with Lua
Using wesnoth.wml_actions ...
- May 16th, 2024, 7:16 am
- Forum: Lua Labs
- Topic: [unsolvable] Access event content
- Replies: 9
- Views: 288
Re: Access event content
Double checked I can't do it.
- May 14th, 2024, 5:43 pm
- Forum: Lua Labs
- Topic: [solved] Gui2 dialog formatting
- Replies: 14
- Views: 384
Re: Gui2 dialog formatting
Code showing two images for comparison of the grid and canvas Lua: -- to make code shorter local wml_actions = wesnoth.wml_actions -- starting values local font_size_title = 70000 local font_size_message = 70000 local font_family_title = "Oldania ADF Std" local font_family_message = "...
- May 13th, 2024, 2:23 pm
- Forum: Lua Labs
- Topic: [solved] Gui2 dialog formatting
- Replies: 14
- Views: 384
Re: Gui2 dialog formatting
Okay, maybe I don't but it took me so much time to ad it there...
Ok I'll remove it.
Thanks for help Ravana and white uncle ^^ <3
Ok I'll remove it.
Thanks for help Ravana and white uncle ^^ <3
- May 13th, 2024, 1:14 pm
- Forum: Lua Labs
- Topic: [solved] Gui2 dialog formatting
- Replies: 14
- Views: 384
Re: Gui2 dialog formatting
I need it there.
- May 13th, 2024, 10:53 am
- Forum: Lua Labs
- Topic: [solved] Gui2 dialog formatting
- Replies: 14
- Views: 384
Re: Gui2 dialog formatting
Great, works
Thanks ^^
Now any idea how to remove that cancel button (one due to the text input window)
Thanks ^^
Now any idea how to remove that cancel button (one due to the text input window)
- May 12th, 2024, 7:26 pm
- Forum: Lua Labs
- Topic: [solved] Gui2 dialog formatting
- Replies: 14
- Views: 384
Re: Gui2 dialog formatting
No, didn't worked (I've tried to set them all to 0 (default value))white_haired_uncle wrote: ↑May 12th, 2024, 6:07 pm I think it is at the very bottom, but it has a border:Try border = "left,right,top" ?Code: Select all
border = "all", border_size = 5,
Any other idea?
- May 12th, 2024, 5:40 pm
- Forum: Lua Labs
- Topic: [solved] Gui2 dialog formatting
- Replies: 14
- Views: 384
Re: Gui2 dialog formatting
About that box... idk it's just for skiping messages and I don't really care where it is.
- May 12th, 2024, 5:40 pm
- Forum: Lua Labs
- Topic: [solved] Gui2 dialog formatting
- Replies: 14
- Views: 384
Re: Gui2 dialog formatting
Well, I'm terrible with lining things up, but it looks like this column is right justified: T.column { -- SHOULD HORIZONTAL_ALIGNMENT = "CENTER" GO HERE??? vertical_alignment="bottom", T.stacked_widget{ id = "narration_stacked_widget", So, while it looks like you've ce...