28.04.2022, 02:40
Thanks for your reply!
I'm glad we're on the same page.
I wanted to make a single event script attached to multiple objects with the same tag run in parallel, but figured that wasn't possible. Therefore I tried creating separate event scripts for each object instead, using common functions since the core logic of the event script is basically the same and that turned out to run in parallel as you mentioned.
However, it's honestly not a clean way to do it since there would be equal number of objects and event scripts, and my application will have a good number of objects.
Is there a better, cleaner way to do something similar?
I'm glad we're on the same page.
I wanted to make a single event script attached to multiple objects with the same tag run in parallel, but figured that wasn't possible. Therefore I tried creating separate event scripts for each object instead, using common functions since the core logic of the event script is basically the same and that turned out to run in parallel as you mentioned.
However, it's honestly not a clean way to do it since there would be equal number of objects and event scripts, and my application will have a good number of objects.
Is there a better, cleaner way to do something similar?