Currently, global variables can only be Integer or Boolean.
Will we have more types in a next version, like string and float?
fmairesse wrote:Currently, global variables can only be Integer or Boolean.
Will we have more types in a next version, like string and float?
tomofnz wrote:A Compare Int node would be helpful in the flow conditions.
And an Int Counter (increments by 1 each time it is passed through in the flow).
Can users create their own nodes - like, for example, people can in UDK with Kismet nodes?
Number += 1
tomofnz wrote:I'm used to UDK kismet where an Int Counter and Compare Int can be used to create a spectra of different results as the value goes up or down.
tomofnz wrote:I dimly understood what you were saying, but I'll have to read it a few times and try it out to see if it's along the same lines.
[Nevigo] Kai Rosenkranz wrote:Hello!fmairesse wrote:Currently, global variables can only be Integer or Boolean.
Will we have more types in a next version, like string and float?
Yes, we're going to add more data types. Which of the following do you find most important: String, Float, Reference, Enum?
It's not going to be added in 2.3 though, maybe 2.4.!tomofnz wrote:A Compare Int node would be helpful in the flow conditions.
And an Int Counter (increments by 1 each time it is passed through in the flow).
Can users create their own nodes - like, for example, people can in UDK with Kismet nodes?
In how far do you see a compare int node different from a condition node with an "Variable = Number" condition? Do you have a node in mind where you can have multiple output pins for different integer values, and the pin with the right value is triggered? (Like a switch-case)
A counter node can be realized with an instruction and an increment statement like this:
- Code: Select all
Number += 1
And if you want to have a loop that exits when the counter gets to a certain value, that'd be an instruction+condition pair. A dedicated counter node makes sense though, and I'll add it to our backlog. I'm just saying it can be reproduced with the current feature set.
Thanks a lot for your contributions!
-Kai
Return to Feature Requests & Suggestions
Users browsing this forum: No registered users and 5 guests