Maybe I am doing it wrong here - but currently there seems to be no way to get the inputs of a Script node directly?
I know I could store each value when it arrives in variables and use these for the calculation - but what if there is no change?
The usage currently seems a bit counter-intuitive that the values are not “already present” and can’t be retrieved right away.
So my suggestion here is to add input(name) and / or input(number) functions in the script node that can be used to retrieve the current value on each of the input pins. The currently connected cables should be enough to always get a value. Only when NO cable is attached (e.g. that could happen if you had a bus cable attached to the node which does not offer any connection for the pin in question) then null should be returned - or maybe even offer a isInputConnected(…) and isOutputConnected(…) function to check valid cables directly.
It would also help to get an inputArray() with all values currently present.
