I'm trying to recreate the Hexen staned glass window smash but using SpawnProjectile instead of Thing_ProjectileGravity. The reason is that I want to use a bunch of custom classes as the shards of flying glass and I'd rather spawn them by class name rather than a spawn id.
It's easy enough for me to spawn a single class of shard
but how do I set things so that the above line so that it will randomly pick from a pre-defined selection of actor class names? I'm going to guess that an array is involved and, as anyone who has read my posts in the past will know, I seem to have a mental block with them so go easy on me.
Thanks.
Re: Stained Glass Smash with SpawnProjectile - how?
Wed Oct 27, 2021 6:31 am
Got it... I think. It seems to work anyway. Can someone please review just to check that I have it right?