Hi. I am having issues with picking in my project.
I used to have it set up so that Fighter Control (the object the player controls) was in a container with Fighter Image (a single object with all the fighter animations). However, I was forced to turn Fighter IMage into a family of objects so the game would only have to load the sprites for the characters being used into image memory. But because of this, the game has broken because of the events depicted in the following image:
(The dictionary is in a container with the control object, it's used for storing a lot of variables and whatnot.)
This is the latest iteration of what I have been trying to make this work. Essentially, each control object has a different number for the AI variable. I use this to link Control and Image without using a container. However, when two players using the same fighter use the same move, it creates a ton of issues because the events have both fighter images picked at the same time, when they should be picking both images individually.
In it's current state, whenever the same move is used at the same time, both projectiles fly in the same direction, since both images are picked both Not Mirrored and Mirrored will always be true at the same time.
- If I use a For Each loop, the events break because I have a couple of triggers for while certain animations are supposed to be playing.
- If I use Pick by UID, it picks only one of the fighters, and the other one does not even spawn the projectile.
- If I use Pick a Random Instance, the triggers will trigger multiple times because some frames last more than one tick.
- If I use Pick by Comparison, the same thing happens as it currently does.
For whatever reason, I am unable to get the events to pick these objects individually. I have tried just about every way I can think pick these objects and I am very frustrated. Can someone please help me figure this out?
Thanks in advance.