Sometime working with drawing objects within ninjascript we have to use an object template as a draw function parameter.
So far if the template does not exist, there will be some default object style.
Is there any way to create a template not manually but from ninjascript in case the template does not exist ?
Technically I coul do it through creating raw XML file myself and put it into a correct folder. But I thought there should be some ninjascript fucntionality to work with templates ?
I couldn't find anything like this in the documentation.
please advise
thanks
Andrei

Comment