Results 1 to 2 of 2

Thread: Vixen Scripting Question

  1. #1
    Join Date
    Dec 2008
    Location
    DeBary, FL
    Posts
    37

    Default Vixen Scripting Question

    Ok, 2 questions actually.

    1) I have some places where there are multiple color strings. I was thinking of trying to have one color fade out and another come on every few minutes. The problem is that I really don't know enough about scripting in Vixen to do it without some guidance.

    2) I also have 2 trees that I have set up kind of like a mega tree. A bunch of strings running down, each on a separate channel. I was also thinking of possibly having them do a slow chase during the background sequence, but again, need some help with how to script it.

    Any assistance would be appreciated.

    Thanks.

    Jason
    Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.

    -Albert Einstein

  2. #2
    Join Date
    Dec 2008
    Location
    DeBary, FL
    Posts
    37

    Default Re: Vixen Scripting Question

    Ok, I think I've got #1 figured out. I've got the fade between the 2 colors to work. Now I need some help with the chase.

    Here's what I have so far:

    while (now.CompareTo(start0) >= 0 && now.CompareTo(end0) <= 0)
    {
    On(Channels(allOther), At (60));
    On(Channels(whiteLights), At (60), For (20).Seconds, Wait);

    Ramp(Channels(whiteLights), 60, 0, Over (10).Seconds);
    Ramp(Channels(multiLights), 0, 60, Over (10).Seconds, Wait);

    On(Channels(multiLights), At (60), For (20).Seconds, Wait);

    Ramp(Channels(multiLights), 60, 0, Over (10).Seconds);
    Ramp(Channels(whiteLights), 0, 60, Over (10).Seconds, Wait);

    now = DateTime.Now; //update the current time
    }

    The problem is that, with the Waits for the fades, the Chase function doesn't work right because it completes and then stops and waits.

    Does anyone have any thoughts on how I can make the chase work with the above script?

    Thanks.

    Jason
    Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.

    -Albert Einstein

Bookmarks

Posting Permissions

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