tyFlow Forum
Add to custom properties - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: Add to custom properties (/thread-4490.html)



Add to custom properties - amcadam@animmersion.co.uk - 09-28-2024

Hi.
I'd like to add a value to a custom property and I can't figure it out.

I have 3 events A, B and C.

Event A has a custom property called 'hit' set to 1.

Event B has the custom property 'hit' set to current value, and a collision operator that sends out to event C.

In event C I want to add 1 to 'hit' and then it loops back around the event B.

Is it possible in event C to just add 1 every time the collision happens? This is where I'm stuck.

Thanks
Andy


RE: Add to custom properties - tyFlow - 09-28-2024

You can use the "increment custom float" option in any testable operator's Test rollout. Or a Script operator for more control.


RE: Add to custom properties - amcadam@animmersion.co.uk - 09-28-2024

Thank you for the reply. I don't know why but I'm struggling to see where it is. Could you potentially upload a screen grab of where it's at please. Sorry for being blind!


RE: Add to custom properties - amcadam@animmersion.co.uk - 09-28-2024

(09-28-2024, 01:31 PM)amcadam@animmersion.co.uk Wrote: Thank you for the reply. I don't know why but I'm struggling to see where it is. Could you potentially upload a screen grab of where it's at please. Sorry for being blind!

Sorry i was being blind...found it!!!