I have chickens and cows walking around on the map. I have a passageway that I only want chickens to be able to go through, because the cows are too big.
One thing I tried is to have a "below characters" event right in front of the passageway that would get the ID of any other events standing on it, and if the ID matched one of the chickens, then it would "open" the passageway by flipping a switch and then close it again after the chicken went through. The problem is that I would need two of these, one for each side of the passageway, and there may be a chicken on one side and a cow on the other.
I feel like there's some simple solution that I'm not thinking of. If anyone has any ideas, I'd really appreciate it. Thanks.
One thing I tried is to have a "below characters" event right in front of the passageway that would get the ID of any other events standing on it, and if the ID matched one of the chickens, then it would "open" the passageway by flipping a switch and then close it again after the chicken went through. The problem is that I would need two of these, one for each side of the passageway, and there may be a chicken on one side and a cow on the other.
I feel like there's some simple solution that I'm not thinking of. If anyone has any ideas, I'd really appreciate it. Thanks.