Anyone know how to do this? I have unsuccessfully tried using a set variable script:
game.mapsize = 123
Nor do either of these two lines work:
JS.eval ("$('#gridmap').css('mapsize', '123')")
JS.eval ("$('#gridPanel').css('mapsize', '123')")
I'm not even sure if the above syntax is right. Thanks.
Awesome, it works! Is there a list of all the javascript codes that you can use and what they do? I do look at your GitHub site a lot, as well as the forums and just googling Quest stuff in general. I want to learn some of this stuff myself so I don't have to keep pestering you : )
Awesome, it works! Is there a list of all the javascript codes that you can use and what they do?
Not that I have every found. If you look in:
C:\Program Files (x86)\Quest 5\playercore.js
... you will find all the Quest JavaScript functions. You can call any of them, or any standard function (or even add your own I think) and call it from Quest code by prepending "JS." - as long as it does not return a value.