1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

_set_engine_par for all groups?

Discussion in 'Scripting Workshop' started by cablefoot, Mar 26, 2011.

Thread Status:
Not open for further replies.
  1. cablefoot

    cablefoot New Member

    Messages:
    10
    Is there a way to use _set_engine_par ($ENGINE_PAR_INTMOD_BYPASS) so that it addresses all groups? I tried the -1 argument (and also $ALL_GROUPS) but that doesn't seem to do anything, so I have been repeating the same function for each group in the instrument. There are 6 groups so I just address each one individually.

    I want to bypass the first slot of the mod section with the $Bypass button:

    _set_engine_par ($ENGINE_PAR_INTMOD_BYPASS, $Bypass, (group assignment), 0, -1)
     
  2. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    You need to use a while loop with a counter variable (for example $count), then instead of -1 argument, use $count within the while loop.
     
  3. cablefoot

    cablefoot New Member

    Messages:
    10
    thanks. that makes sense. wouldn't it just be easier for them to allow for -1 for all groups? why this workaround?
     
  4. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    That's just the nature of the beast and you'll have to take it for what it is. $ALL_GROUPS is there only to be used with allow_group() and disallow_group(), and the array variant of the command (get/set_event_par_arr())
     
  5. cablefoot

    cablefoot New Member

    Messages:
    10
    OK, thanks for clarifying.

    One additional question - where are the knobs for all the library interfaces are stored? I found the wallpapers (in the samples folders) but can't find the actual control graphics anywhere.
     
  6. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    They are packed in the _info.nkx monoliths you can see for each Kontakt Player library. If the library isn't Kontakt Player licenced, then it's somewhere in user Documents and Settings folder on your C: partition. OR, in the latest K4.2, in resource containers, which is pretty much the same thing as a monolith.
     
Thread Status:
Not open for further replies.