Hi all,
It’s a basic question.
If I want the variables like boolean or float, Which one do I have first between Set and Get variable.
It’s a kind of confusing. From my understanding, I should set variable first then get the variable.
Thanks,
Hi all,
It’s a basic question.
If I want the variables like boolean or float, Which one do I have first between Set and Get variable.
It’s a kind of confusing. From my understanding, I should set variable first then get the variable.
Thanks,
If you have not set the variable the value will be default.
It really depends on what you want to do with the variable. It’s just a value, there are too many cases that I can’t say the right way unless you know what you are doing
Thank you for the answer.
Ya usually have to compile to set a default… For instance if you create a float and want the default value to be 5. You would creat a variable, then in the details pane you can set the variable type (float/vector/boolean/etc) … at the bottom, after you click compile, it will have an input for the default value. Put 5. Now you can “Get” your variable, and it will come back 5. Or you can “Set” the variable to whatevet you want.