Adding multiple OSC message per cursor/trigger via script?

Accueil Forums Scripts Adding multiple OSC message per cursor/trigger via script?

  • Ce sujet est vide.
15 sujets de 1 à 15 (sur un total de 146)
  • Auteur
    Messages
  • #2215 Répondre
    Anonyme
    Inactif

    Hello-

    I am having great fun with IanniX, but have hit a snag in scripting…I want to enable two messages per cursor like:


    iannix.execute("setMessage current 20, osc://130.237.238.247:7770/scene/lightlidx " + index + " cursor_value_x");
    iannix.execute("setMessage current 20, osc://130.237.238.247:7770/scene/lightlidy " + index + " cursor_value_y");

    but only the latter message is sent…what am I missing?

    -apo

    #2688 Répondre
    Anonyme
    Inactif

    Hello,
    i think you cannot set multiple messages from same object, but you can set a message with
    many value, i.e. if you want that your object send cursor x and cursor y, you can make

    iannix.execute(« setMessage current 20, osc://130.237.238.247:7770/scene/lightlidx  » + index +  » cursor_value_x » +  » cursor_value_y »);

    this will send: index, cursor x value, cursor y value

    Hope helpful although my english,
    ciao,
    francesco.

    #2689 Répondre
    Anonyme
    Inactif

    Thanks. Maybe true from a scripting standpoint, but one can add multiple messages like this from the IanniX GUI with the « + » button.

    I like your solution, but my software listening on the other side is not so flexible.

    -apo

    #2690 Répondre
    Anonyme
    Inactif

    I did not know that.
    And then i have know something more, thank to You.
    (i’m only a newbie).

    Maybe some expert could tell us something.

    Ciao,
    francesco.

    #2691 Répondre
    Anonyme
    Inactif

    Hi!

    You can send multiple messages by separating them with a comma!

    iannix.execute("setMessage current 20, osc://130.237.238.247:7770/scene/lightlidx " + index + " cursor_value_x + ", osc://130.237.238.247:7770/scene/lightlidy " + index + " cursor_value_y");

    Easy!

    #2692 Répondre
    Anonyme
    Inactif

    Perfect! Thank you very much!

    -apo

    #183311 Répondre
    Davidces
    Invité

    pedir fármacos por Internet: pedir fármacos por Internet – comprar medicinas online sin receta médica

    #183394 Répondre
    FrankZoria
    Invité

    https://saludexpresses.shop/# farmacia online Espana fiable

    #183454 Répondre
    Josephglolf
    Invité

    Plinko gioco a caduta palline: Plinko – migliori casino italiani con Plinko

    #183487 Répondre
    DavidLoyar
    Invité

    migliori casinò italiani con Plinko [url=https://plinkoslotitalia.com/#]scommesse Plinko online[/url] Plinko RTP e strategie

    #183670 Répondre
    Josephglolf
    Invité

    Chicken Road slot game India: how to win Chicken Road slot game – play Chicken Road casino online

    #183676 Répondre
    Josephnus
    Invité

    Plinko: scommesse Plinko online – Plinko demo gratis

    #183701 Répondre
    DavidLoyar
    Invité

    Chicken Road slot machine online [url=http://chickenroadslotitalia.com/#]slot a tema fattoria Italia[/url] Chicken Road slot machine online

    #183703 Répondre
    BriceSpoft
    Invité

    https://plinkoslotitalia.shop/# migliori casino italiani con Plinko

    #183724 Répondre
    ScottSwarp
    Invité

    free demo Chicken Road game: real money Chicken Road slots – Chicken Road slot game India

15 sujets de 1 à 15 (sur un total de 146)
Répondre à : Répondre #183454 dans Adding multiple OSC message per cursor/trigger via script?
Vos informations :





© IanniX Association

Qu'est-ce que IanniX ? | Téléchargement | Showcase | Forum | Recherche | À propos