Hi everyone. This is my first post here, and I'm having trouble figuring out how to do something. I only started with Construct 2 about a week ago, and from what I've search of the forums, I can't find an easy solution to my problem.
So I'm making a JRPG style game, with many unique characters each with their own stats, and other variables. I have all of these characters in a single family called NPCs. I want to create a function that has a parameter which is used to reference a specific character, and get the value of an instance variable from them. Is there a way to do this? My first thought was to simply use the parameter in the expression like so: functionA(0).BulletDistanceTravelled but that didn't work. Is there a reason for this? Can anyone offer me a solution?
Thank you for any help you offer.