I don't see anything that this can be useful for? Please provide examples of what you could use it for.
"-> ->Input Must precede an input. Returns 1 if the input is wired to something."
This comes from the E2 Documentary.
For some reason you decided to only make this for inputs.
Make one for outputs.
Make it likeorCode:A->So there will be a line added saying:Code:<-A
"<- <-Output Must precede an output. Returns 1 if the output is wired to something."
EDIT: The difference between inputs and outputs is that an output can be wired to more than 1 thing.
So, instead of
"Returns 1 if the output is wired to something", make it:
"Returns the number of things the output is wired to".
This doesn't change the function, it only adds another option.
For example, in the battery project there is a link of below, I could make the battery's power drain quicker when more things are wired to it.
would then be possible.Code:if(<-Pin){Power-=<-Pin*PD/6000}
Last edited by Jeroenvw; 09-02-2010 at 04:13 AM. Reason: brilliant idea
Actually yeah this would be nice. Its useful for e2s which have more than one use. So a generic contraption control e2 automatically adapts its self based on what is wired.
Comprehensive Gmod physics guide - Ballistic trajectory with drag - Autodyno engine performance test
Don't make the mistake these skydivers did and use any of my Gmod physics models for real life situations...
Agreed, someone should add it.
Comprehensive Gmod physics guide - Ballistic trajectory with drag - Autodyno engine performance test
Don't make the mistake these skydivers did and use any of my Gmod physics models for real life situations...
I think it's useful.![]()
Last edited by Divran; 09-02-2010 at 02:35 PM.
SVN Tutorial
My SVN:Get dropbox and get 250 MB extra space: DropboxCode:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
Awesome!
Bookmarks