Hello everyone, hello Locohost,
I'm on this at the same time, trying to find a simple and clear way. So I tried different things, but I got half satisfaction cause it's a trick and not a native function of Construct 2. So in a large project, using tricks would be confusing.
In my project I got a general family of entity and I'd like them to be able to chase (chaze ?) or follow each other. Barely the same with your fighters.
If you find a cool way to do this, can you share it please ?
It seems like dummy object is a solution, but it involves creating more and more objects. Ok this dummy doesn't need cpu intensive calculation like collision, and it is invisible in the game, so no extra draw. In my project and because of the family behavior and the difficulty to make "complex" interactions between two members of the same family, I got lots of these kind of solutions. I came to Construct 2 with knowledges in programming languages and game programming. With an engine of your own, you can have references to two entities in the game inside the same function to apply modifications on both simultaneously. Hard to do that in Construct 2 without breaking the event system optimisation (lots of picking, and reset picking list), or doing something unreadable.
If you find a good solution, I'm in for sharing
Good luck and sorry for my english might be incorrect, not precise, or really strange sometimes.
Nabu