setting a variable from multiple events

All other topics about Ventuz 6 here.

Moderator: Support

Post Reply
rubendesnoo
Posts: 2
Joined: 20 Oct 2021, 14:17

setting a variable from multiple events

Post by rubendesnoo » 07 Jan 2022, 15:28

Hi, I am new to ventus. I would like to set a variable at a value, but I would like an event to be able to update this value, and few more other events too.

Someone has any idea?

User avatar
Frederik
Posts: 4
Joined: 08 Jun 2020, 09:51

Re: setting a variable from multiple events

Post by Frederik » 26 Jan 2022, 10:19

Hello,
welcome to the Ventuz world :)

Actually I'm not really confident what you want to do.
Maybe a short explanation: You can create a value of different kind of data types with Variable Nodes in the Logic area of the toolbox (E.g. float or integer.)You can set this variable yourself or bind it to a Data Channel of any other Properties in with the same data type in other Nodes.
This value will be updated constantly with every frame.

You can check out the Value Buffer Node. It takes the Value in the moment it gets triggered by an event and set it on a output.
I hope this helps :)
Regards,
Frederik

Post Reply