12-21-2020, 12:29 PM
I don't think there's a need to evaluate a Script from the right click menu. Scripts are always evaluated whenever the Script window is closed after a change to the script is detected. So it shouldn't be possible for the Script window to be closed and a re-evaluation to be necessary. If the script window is closed and the script has errors, it's also not possible to fix the error without re-opening the window. So whenever the window is closed, if the script is error-free, it should already be evaluated.
The exception to this was a previous issue where working scripts could fail to evaluate in some situations, but that should have been fixed in v0.16099.
I don't think global variables will be possible because different scripts are executed in different C# contexts. However, you can use the custom float/vector/tm methods to assign values to particles which are accessible between events.
The exception to this was a previous issue where working scripts could fail to evaluate in some situations, but that should have been fixed in v0.16099.
I don't think global variables will be possible because different scripts are executed in different C# contexts. However, you can use the custom float/vector/tm methods to assign values to particles which are accessible between events.