1. #1
    New Member Follow User Gallery
    Join Date
    Jan 2014
    Location
    Fresno, CA
    Age
    26
    Posts
    16

    Default Include Zscripts like Header and Source files?

    I swear I read something before that lets you include text files into your scripts like how you have a header file and your source files in c++ i just cant remember where I saw it or exactly what its referred to inside zscripting.

    Anyone have any experience with that?

  2. #2

  3. #3
    New Member Follow User Gallery
    Join Date
    Jan 2014
    Location
    Fresno, CA
    Age
    26
    Posts
    16

    Default

    Thats what it was.

    Do you know the limitations of it? Can you insert UI elements like buttons and things? Or is it just all strictly pure code?

  4. #4
    Moderator Follow User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    10,945

    Default

    There aren't any limitations. Whatever you can put in a zscript you can have in the zscriptinserted zscript. It's really just like copying-and-pasting code at that point.

    It's useful if you develop routines that you use often. For example, to check for a polymesh is in Edit mode, or do some subtool operations.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •