wesnoth.get_viewing_side()

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

Moderators: Forum Moderators, Developers

Post Reply
enclave
Posts: 553
Joined: December 15th, 2007, 8:52 am

wesnoth.get_viewing_side()

Post by enclave » April 12th, 2018, 6:35 pm

Hi, could anyone enlighten how 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?


Post Reply