Script Accessible Floats - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html) +--- Thread: Script Accessible Floats (/thread-3007.html) |
Script Accessible Floats - ssbuchan - 03-17-2022 If I define a script-accessible float in the script operator's Floats rollout, how do I access it in the script? I get the error message, "The name 'float01' does not exist in the current context," when i try to use the variable 'float01' in the script. I'm on v1.00002. Thanks! RE: Script Accessible Floats - tyFlow - 03-17-2022 Code: GetFloat("float01"); It's all in the API RE: Script Accessible Floats - ssbuchan - 03-17-2022 (03-17-2022, 02:18 PM)tyFlow Wrote: I thought I tried that. I must have made a mistake somewhere. That does, in fact, work. Haha. Thanks again! |