trigerring cursors

Home Forums Scripts trigerring cursors

  • This topic has 6 replies, 2 voices, and was last updated 2 weeks ago by braship.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3465 Reply
    Johann
    Guest

    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 Reply
    IanniX
    Keymaster

    Hi,

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

    #3468 Reply
    Johann
    Guest

    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 Reply
    Johann
    Guest

    please test it on OSX 10.9 (maverick)

    #3470 Reply
    IanniX
    Keymaster

    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 Reply
    Johann
    Guest

    yes,

    brilliant, this one works 🙂

    #8055 Reply
    braship
    Guest

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

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: trigerring cursors
Your information:





© IanniX Association

What is IanniX? | Download | Showcase | Forums | Research | About