Changing Map Height During the Game [SOLVED]
Dcoder
03 Jun 2017, 00:52Anyone 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.
The Pixie
03 Jun 2017, 07:42I thgink you can do this:
JS.ShowGrid (123)
Dcoder
03 Jun 2017, 16:02Awesome, 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 : )
The Pixie
03 Jun 2017, 16:57Awesome, 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.
Dcoder
04 Jun 2017, 04:22Thank you.