+ Reply to Thread
Results 1 to 3 of 3

Thread: Expression gate wait() command

  1. #1
    Wire Noob Marsunpaisti's Avatar
    Join Date
    Feb 2008
    Posts
    7

    Lightbulb Expression gate wait() command

    Well, when I was making a contraption which needed many timers and delays, I thought about having a wait() command for expression gates so when you got a line like:
    Button -> This = 1, That = 2; and you would want this and that to go back to 0 after 500 milliseconds so you would do this:
    Button -> This = 1, That = 2, wait(500), This = 0, That = 0;

    Anyone agree? ^_^

  2. #2
    Wirererer _Kilburn's Avatar
    Join Date
    Jul 2007
    Location
    France
    Posts
    277

    Default Re: Expression gate wait() command

    Code:
    Button -> This = 1, That = 2, schedule(500), end;
    clk() -> This = 0, That = 0;


  3. #3
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default Re: Expression gate wait() command

    Quote Originally Posted by Marsunpaisti View Post
    Well, when I was making a contraption which needed many timers and delays, I thought about having a wait() command for expression gates so when you got a line like:
    Button -> This = 1, That = 2; and you would want this and that to go back to 0 after 500 milliseconds so you would do this:
    Button -> This = 1, That = 2, wait(500), This = 0, That = 0;

    Anyone agree? ^_^
    Sure, that is a possibility, except that it would totally break the gate as well. Because, what would happen during that wait? What about all other key-presses, etc. Hence, it is not available.

+ Reply to Thread

Similar Threads

  1. Expression Gate : Can't save expression
    By m0nday in forum Bug Reports
    Replies: 2
    Last Post: 08-06-2008, 12:29 PM
  2. Derivative Expression command
    By MagnetoHydroDynamics in forum Ideas & Suggestions
    Replies: 5
    Last Post: 03-25-2008, 09:15 AM
  3. Expression Command Help
    By Arc in forum Installation and Malfunctions Support
    Replies: 4
    Last Post: 03-12-2008, 04:24 PM

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
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots