So... I just realised that I was using the previous version of the plugin, which didn't have the visibility option yet, and that's why it was undefined. Oh boy do I feel stupid...
The thing is, I just updated both the DMV_MapButton and the DMV_Core and now, even simply having the script active crashes the game on loading and gives an array or errors.
http://imgur.com/qaguqfM
PS. Ignore the nvidia fps counter.
EDIT: So after updating both .js as I stated it seemed like it had worsened. Then I gathered all the courage I could muster, deleted all the plugins and plugin entries I had on my project and re-entered them one by one, having the care of adding the DMV plugins first.
And now it works flawlessly.
😀
Thanks so much mlogan and Ariaka for your patience and for trying to make sense of my problem.
On an unrelated matter, is it possible to resize buttons? I'd love to enbiggen them a bit if that's doable.