|loop node example [message #1780838]
||Mon, 29 January 2018 07:25
| Pietro Boido
Registered: January 2018
Hi Papyrus users,|
I am trying to use a loop node to count down from i to 0 and print the counter at each iteration.
I am not able to make it work, when I add variables. I cannot figure out how to connect the loop variable output pin to the test part and body part input pins. There seems to be no place where I can drop the variable input/output pins, nor the loop result pin.
Also I tried adding a setup part, but it won't execute.
This is my current loop node:
These are the properties:
In this state, moka won't execute the node, but no exception is thrown.
If I remove the Body output, Loop variable, Loop variable input and Result from the properties, then the loop will be executed and 9 will be printed at each iteration, until I terminate the simulation.
It would be great if you could post a complete loop node example.
Powered by FUDForum
. Page generated in 0.04769 seconds