I have an "Attack" object that represents a sword swing, and I spawn it and use it to detect when you hit something with your weapon. I figured every melee weapon is more or less the same, so they all use the same object. Each weapon should look different, so that sprite has like a dozen animations. I've been using the animation: OnFinished trigger to destroy the attack, but it seems to require the name of the animation, and I have bunch of animations that all do the same thing. Can I perhaps use a wildcard?
My other question was about collisions. I was wondering if there is a way to detect collisions with solid objects, even without picking the collided object? There are the overlapping and overlapping at offset conditions, but they require a specific object or family. Can I use these conditions with "any solid"?