+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: ->Output

  1. #11
    Wirererer Blob 92's Avatar
    Join Date
    Dec 2009
    Location
    vec( √ -1, √ -1, √ -1 )
    Posts
    222

    Default Re: ->Output

    What would happen if the Output was wired to multiple things....?

  2. #12
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,657
    Blog Entries
    1

    Default Re: ->Output

    It returns the number of inputs that are wired to the output. So in that case, a number > 1.

  3. #13
    Wire Amateur Jeroenvw's Avatar
    Join Date
    Aug 2010
    Posts
    35

    Default Re: ->Output

    Thanks for adding this, but unfortunately it is not working.
    Code:
    @outputs Gate Screen
    Screen = ->Gate
    does not anymore give an error, yet it leaves a '0' on my screen while a gate is wired to Gate,
    while
    Code:
    @inputs Gate
    @outputs Screen
    Screen = ->Gate
    does make a '1' appear on my screen with Gate being wired to a gate.

    I really appreciate the fact that you added my request, but please make it work.

  4. #14
    http://somone77.net somone77's Avatar
    Join Date
    Jun 2008
    Location
    <Smart ass location>
    Posts
    614

    Default Re: ->Output

    Just an addition to the suggestion, could we get one that outputs an array of the entities that are wired to an Output?

    Also,

    Quote Originally Posted by Jeroenvw View Post
    Thanks for adding this, but unfortunately it is not working.
    Code:
    @outputs Gate Screen
    Screen = ->Gate
    does not anymore give an error, yet it leaves a '0' on my screen while a gate is wired to Gate,
    while
    Code:
    @inputs Gate
    @outputs Screen
    Screen = ->Gate
    does make a '1' appear on my screen with Gate being wired to a gate.

    I really appreciate the fact that you added my request, but please make it work.
    I'm going to guess it's because the E2 is not running. Have an interval on the chip.


    No matter how many Z's you put after Plz, you still spell as well as a piece of cheese.

    http://somone77.net

  5. #15
    Wire Amateur Jeroenvw's Avatar
    Join Date
    Aug 2010
    Posts
    35

    Default Re: ->Output

    Quote Originally Posted by somone77 View Post
    I'm going to guess it's because the E2 is not running. Have an interval on the chip.
    Thanks for the tip! It works now.

  6. #16
    Wire Sofaking jacoby6000's Avatar
    Join Date
    Feb 2008
    Location
    behind you when you aren't looking
    Posts
    792

    Default Re: ->Output

    Quote Originally Posted by somone77 View Post
    I'm going to guess it's because the E2 is not running. Have an interval on the chip.
    When a chip is running based on an input, trigger would be better
    Quote Originally Posted by Garrysmod View Post
    Warning: You're trying to render in the wrong place. This doesn't play nice with multi-core rendering, so we're not going to let you draw here.
    I'm not stupid!
    In [his] experience that was a sentence never to be uttered except to prove its own inaccuracy
    --Orson Scott Card

+ Reply to Thread
Page 2 of 2 FirstFirst 12

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