wesnoth.get_viewing_side()
Moderator: Forum Moderators
wesnoth.get_viewing_side()
Hi, could anyone enlighten how
it always says that im trying to call nil value or something similar.. I tried ipairs, array, and many many more... nothing seem to work, just error all the time. Tiny example of how to extract side from it??
Thanks in advance!
PS. ah well.. i think it only works in 1.13? But wiki doesnt specify that.. could wiki be corrected if so?
wesnoth.get_viewing_side()
could be used? (wesnoth 1.12)it always says that im trying to call nil value or something similar.. I tried ipairs, array, and many many more... nothing seem to work, just error all the time. Tiny example of how to extract side from it??
Thanks in advance!
PS. ah well.. i think it only works in 1.13? But wiki doesnt specify that.. could wiki be corrected if so?
Re: wesnoth.get_viewing_side()
https://github.com/wesnoth/wesnoth/comm ... 96e3a7deca it was only recently documented at all https://github.com/wesnoth/wesnoth/issues/2653.
Re: wesnoth.get_viewing_side()
hmm thats interesting...
are they all on 1.14 or some of them work 1.12 too? undocumented ones..
are they all on 1.14 or some of them work 1.12 too? undocumented ones..
Re: wesnoth.get_viewing_side()
As you can see from first link that specific one is present in master 1.14.0 1.13.14 1.13.13 1.13.12 1.13.11 1.13.10 1.13.10-retag 1.13.9 1.13.8 1.13.7 1.13.6 1.13.5 1.13.4 1.13.3 1.13.2 1.13.1.
Re: wesnoth.get_viewing_side()
Thanks.. i didnt notice them sorry