[closed] Custom dialog placement
Moderator: Forum Moderators
- ZombieKnight
- Posts: 283
- Joined: June 27th, 2022, 2:26 pm
- Location: Czech Republic
Re: Custom dialog placement
Sorry?
I don't understand what you meant to say.
(tho probably means find it yourself, as I know you...)
>> If so what tools should I use to search?
I don't understand what you meant to say.
(tho probably means find it yourself, as I know you...)
>> If so what tools should I use to search?
I had saurian in profile before, but I've merged my discord profile with forum one...
Working on campaign Bandits from Brown Hills
Working on campaign Bandits from Brown Hills
Re: Custom dialog placement
https://wiki.wesnoth.org/index.php?search= first, when that does not give anything then https://github.com/search?q=repo%3Awesn ... &type=code
- Celtic_Minstrel
- Developer
- Posts: 2290
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: Custom dialog placement
Of course it would, as that's a WFL variable, not a Lua variable.ZombieKnight wrote: ↑April 19th, 2024, 3:50 pm When I type 'gamemap_x_offset' into the Lua console returns an error.
There is a WFL console, but that variable wouldn't be found there either, as the WFL console uses the AI context of the current side whereas that variable is part of the context of a given dialog. So there really isn't any place you can type in the name and get its value.
But, if you just want to know what the value is, you can use the
debug_print
function (edit the existing formula that uses it to call that function and pass the variable's value to it). That'll print the value of the variable to the log whenever it's hit, while not affecting the actual calculation being done.- ZombieKnight
- Posts: 283
- Joined: June 27th, 2022, 2:26 pm
- Location: Czech Republic
Re: Custom dialog placement
Yes, you're right...
I have no experience with these...
Becouse of working wml exaple I've managed to put them on the right place. ^^
I have no experience with these...
Becouse of working wml exaple I've managed to put them on the right place. ^^
I had saurian in profile before, but I've merged my discord profile with forum one...
Working on campaign Bandits from Brown Hills
Working on campaign Bandits from Brown Hills