Talk:MAP

From OHRRPGCE-Wiki
Jump to: navigation, search

Bob the Hamster (talk) 14:37, 30 May 2014 (PDT): Taoki suggested the ability to toggle layer visibility using tags. Not a bad idea. I can see how it could make some things a little easier.

TMC (talk) 23:10, 30 May 2014 (PDT): Yes, that would be great. but how would it interact with setslicevisible and the default layer visibility setting? Usually we would implement such a thing by either updating the visibility status every tick based on tags (setslicevisible would do nothing), or in the function to do tag-based updates (changes made by setslicevisible would be randomly reverted). Maybe the best option is just to document that if you define a visible tag, then setslicevisible can no longer be used. Eg options "visible when tag # off", "visible when tag # on", "visible, changeable with setslicevisible", "not visible, changeable with setslicevisible"

Bob the Hamster (talk) 11:15, 1 June 2014 (PDT): I agree. For this feature, giving tags priority over "set slice visible" is definitely the easiest way to make it work-- and heck, if someone needs to script visibility in that case, they could just use "set tag" :)