Including Script Code?
Stretch65
Posts: 166
Hi,
Is there some way of including frequently used code in Daz scripts? For example is there something similar to the #INCLUDE command that one finds in languages like C?
Post edited by Richard Haseltine on
Comments
If you know Javascript it should follow the same rules as Javascript although it's been a very long time since i wrote Javascript so I can't tell you the proper keywords and syntax to do so someone else should come along...
Also in the DAZ Studio subforum of this forum are threads related to scripting in DAZ Studio...
Moved to the scripting forum. There is a way to load a script, but I can't recall the command or see it in the docs just now.
And Rob has reminded me - you want include() http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/global has the geenral list of global objects, http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/global#a_1aa83a65ac17a82a1b2aeef63e38796a79 is include().
Thanks everyone!