I recently acquired two of your assets (nodeCanvas and floCanvas), and am trying to understand how to work with them, but I have a question about floCanvas:
1. Can I use floCanvas to create formulas (for example, float variable c == 100 – (a + b): 100)?
2. And if so, is it possible using the flowCanvas (or together with the nodeCanvas) to make the calculation using the formula at a certain moment?
3. For example, I randomly choose from 4 events: a, b, c, d. For example, in the playmaker, you can set a random events with a given probability for each event (in playmaker this value is from 0 to 1 float type). So, is it possible to randomly select an event using flowCanvas or nodeCanvas (or them together), but the probability of choosing each of them will be equal to each individual float variable (for example, the probability of an event a == is equal to the float variable “aRandomness”)?
Do you mean formulas /expressions by “writing” them down, or by using several nodes connected together? Of course, it is possible with nodes, but it is not (yet) by writing down the expression. I have however worked and have an early version of an Expression Node already made (but not published). I can send you the package to try it out if you want of course though 🙂
“When” something is happening in either Node or Flow Canvas, is fully related to the system. For example, in NodeCanvas, Behaviour Trees, are making things happening in a different manner than FSMs, or FlowCanvas flowScripts. FlowCanvas flowScripts, are fully event-driven, so you could make something happen based on some event which can come from a really lot of places (like for example input, trggers, collisions, c# events, unity events etc). Is that what you mean?
NodeCanvas Behaviour Trees, do have a node called “Probability Selector” which works prety much like you say. FlowCanvas on the other hand, does not have such a node, but I think it is a really good addition to make actually 🙂 I will definetely add a Probability node in FlowCanvas as well.
Please let me know on the above and if you need any further information.
I have attached for you here the Expression Node (a unitypackage). Please note that this is only a beta/early version of the node.
Thank you for the extra information on the Probability node. I will implement such a node in FlowCanvas in the next few days and will also be there in the next version. While you can use NodeCanvas Probability Selector, from what I see you would prefer using FlowCanvas (with the new Probability Node when it’s ready) though :).
Let me know what you think regarding the attached Expression Node by the way.