Search found 250 matches
- May 19th, 2024, 6:57 pm
- Forum: Lua Labs
- Topic: [resolution] problems
- Replies: 16
- Views: 444
Re: [resolution] problems
Oh, is this the campaign where you are messing with (experimental) global variables, screwing with save/load, etc? If so, it seems obvious enough, my code works because I don't do that stuff. You've probably done something that breaks gamemap_size or whatever between S1 or turn 1 or whatever, and s...
- May 19th, 2024, 6:13 am
- Forum: Lua Labs
- Topic: [resolution] problems
- Replies: 16
- Views: 444
Re: [resolution] problems
However, I notice in your screenshot there is a unit selected. Are you doing something in prestart? I suspect there's something different about your S1 and S2. I do a lot in earlier start event Namely: spawn ans unstore units, move units and then display [narration] with speaker, so it selects the ...
- May 18th, 2024, 5:37 pm
- Forum: Lua Labs
- Topic: [resolution] problems
- Replies: 16
- Views: 444
Re: [resolution] problems
also...white_haired_uncle wrote:
If you're working on it take onto mind even this case:
When you put
Code: Select all
[change_theme]
theme=Cutscene_Minimal
[/change_theme]
It doesn't work too.
- May 18th, 2024, 5:32 pm
- Forum: Lua Labs
- Topic: [resolution] problems
- Replies: 16
- Views: 444
Re: [resolution] problems
I don't see a problem in a pretty recent 1.19, or going back to 1.16.10. "Green rectangle displays ALL over the screen" displays only on the gamemap, like the second image in your first post. Man I know why (not the cause). It WORKS in S01 start event. But it DOESNT work in S02 start even...
- May 18th, 2024, 3:33 pm
- Forum: Lua Labs
- Topic: [resolution] problems
- Replies: 16
- Views: 444
Re: [resolution] problems
[event] name=start [lua] code=<< -- 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 = "Oldania ADF Std" -- metatabl...
- May 18th, 2024, 3:25 pm
- Forum: Lua Labs
- Topic: [resolution] problems
- Replies: 16
- Views: 444
Re: [resolution] problems
I'm currently building right around that commit, so if you want to post some simple (as simple as possible) code that demonstrates the problem I can test it. Just ctrl+C my dialog code put it into [lua] code=<<MYCODE>>[/lua] , add [narration] tag right after and that all put into start [event]. I'l...
- May 18th, 2024, 3:10 pm
- Forum: Lua Labs
- Topic: [resolution] problems
- Replies: 16
- Views: 444
Re: [resolution] problems
Can you put here link or something please?white_haired_uncle wrote: ↑May 18th, 2024, 2:47 pm commit 2ad0a2f29784b149035ee86e00f8d63bce38d7c0
Author: Tommy <>
Date: Sat Jul 16 01:22:59 2022 +1200
- May 16th, 2024, 7:24 pm
- Forum: Lua Labs
- Topic: [resolution] problems
- Replies: 16
- Views: 444
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: 323
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: 323
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: 16
- Views: 444
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: 323
- May 16th, 2024, 7:30 am
- Forum: Lua Labs
- Topic: [resolution] problems
- Replies: 16
- Views: 444
[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: 229
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: 323
Re: Access event content
Double checked I can't do it.