scriptName global
Posted: 06 Dec 2012, 10:01
I'm looking to backport the scriptName global to wz 3.1 but I'm not sure as to what it actually contains?
In the JS API docs, it's described as "Base name of the script that is running" which could be any number of things from a filename, path and filename, name of AI or maybe even something completely different?
Does anyone know what the global contains at runtime? (I can't currently test on WZ 3.2 as there isn't a mac build of it)
In the JS API docs, it's described as "Base name of the script that is running" which could be any number of things from a filename, path and filename, name of AI or maybe even something completely different?
Does anyone know what the global contains at runtime? (I can't currently test on WZ 3.2 as there isn't a mac build of it)