trigerring cursors

Accueil Forums Scripts trigerring cursors

  • Ce sujet contient 6 réponses, 2 participants et a été mis à jour pour la dernière fois par braship, le il y a 2 semaines.
7 sujets de 1 à 7 (sur un total de 7)
  • Auteur
    Messages
  • #3465 Répondre
    Johann
    Invité

    Hello everyone,

    I have a problem to run a cursor going on again (using command direct:// setSpeedF 2 1) after it was earlier inactivated (direct:// setSpeedF 2 0), any solution in this case?

    Moreover I am looking for a programme solution to switching on a cursor by triggering a trigger, whereas the cursor will run for a certain time and will be off again.

    #3467 Répondre
    IanniX
    Maître des clés

    Hi,

    Not sure to understand the problem with your cursor… setSpeedF should work!

    #3468 Répondre
    Johann
    Invité

    when I stop a cursor (direct:// setSpeedF 2 0), the object is being inactivated. When I try to switch the same one again (direct:// setSpeedF 2 1), it does not work at all, whereas the other objects work as they did before. The cursor reactivation does not work

    #3469 Répondre
    Johann
    Invité

    please test it on OSX 10.9 (maverick)

    #3470 Répondre
    IanniX
    Maître des clés

    Please copy and paste this in a new score to test:

    run("add curve 1");
    run("setpos current -2 0 0");
    var points1 = [
    	{x: 0, y: 0, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
    	{x: 4, y: 2, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
    ];
    for(var i = 0 ; i < points1.length ; i++)
    	run("setpointat current " + i + " " + points1[i].x + " " + points1[i].y + " " + points1[i].z + " " + points1[i].c1x + " " + points1[i].c1y + " " + points1[i].c1z + " " + points1[i].c2x + " " + points1[i].c2y + " " + points1[i].c2z);
    run("add cursor 2");
    run("setcurve current lastCurve");
    run("setpos current -2 0 0");
    run("setspeedf current 1");
    run("setpattern current 0 0 1 -1");
    run("settime current 0");
    
    run("add curve 5");
    run("setpos current 0 0 0");
    var points5 = [
    	{x: 0, y: 0, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
    	{x: 3, y: 0, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
    ];
    for(var i = 0 ; i < points5.length ; i++)
    	run("setpointat current " + i + " " + points5[i].x + " " + points5[i].y + " " + points5[i].z + " " + points5[i].c1x + " " + points5[i].c1y + " " + points5[i].c1z + " " + points5[i].c2x + " " + points5[i].c2y + " " + points5[i].c2z);
    run("add cursor 6");
    run("setcurve current lastCurve");
    run("setpos current 0 0 0");
    run("setpattern current 0 0 1 -1");
    run("setcoloractive current _trigger_active");
    run("settime current 0");
    
    run("add trigger 3");
    run("setpos current 1 0 0");
    run("setmessage current 1, direct:// setSpeedF 2 1 , midi://midi_out/notef 1 trigger_value_y trigger_value_x trigger_duration , tcp:// trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id ,");
    run("setcolor current 151 209 38 255");
    
    run("add trigger 4");
    run("setpos current 2 0 0");
    run("setmessage current 1, direct:// setSpeedF 2 0 , midi://midi_out/notef 1 trigger_value_y trigger_value_x trigger_duration , tcp:// trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id ,");
    run("setcolor current 255 0 0 255");
    
    #3471 Répondre
    Johann
    Invité

    yes,

    brilliant, this one works 🙂

    #8055 Répondre
    braship
    Invité

    О¤Ої testoviron depot ПЂОµПЃО№О­П‡ОµО№ П‰П‚ ОґПЃО±ПѓП„О№ОєО¬ ПѓП…ПѓП„О±П„О№ОєО¬ ОґПЌОї ОґО№О±П†ОїПЃОµП„О№ОєО¬ ПЂО±ПЃО¬ОіП‰ОіО± П„О·П‚ П†П…ПѓО№ОєО®П‚ О±ОЅОґПЃО№ОєО®П‚ ОїПЃОјПЊОЅО·П‚ П†ПЌО»ОїП…, П„О·П‚ П„ОµПѓП„ОїПѓП„ОµПЃПЊОЅО·П‚ can you buy priligy in the u.s. Olive oil, canola oil and avocado oil

7 sujets de 1 à 7 (sur un total de 7)
Répondre à : trigerring cursors
Vos informations :





© IanniX Association

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