Is it possible to make a projectile that inherits from the Spawn Cube but make it so it spawns different monsters instead?(like Heretic monsters for example?)
You can't replicate the spawn cube. The reason for this is that A_SpawnFly is both responsible for checking the destination spot and spawning the monsters. If these were different code pointers you could do something about it - but they aren't.
Graf Zahl wrote:You can't replicate the spawn cube. The reason for this is that A_SpawnFly is both responsible for checking the destination spot and spawning the monsters. If these were different code pointers you could do something about it - but they aren't.
Why not just splitting this hardcoded thing up into two functions?
Well, I wouldn't inherit the code if I were to do it myself. I think I just read the title when I replied. But all of you should know what to do to make something that replicates the behaviour for any monster, especially if I've got an idea I think would work
So lemme get this straight:
1. you can make a custom actor using the actions that the spawn cube uses
2. you can't inherit directly from the Spawn Cube