Mad Dal 85 Posted April 20, 2020 If anyone has played CF, you will know what I mean here. How do you get enemies like Barons, Imps, Hell Knights, ect., to throw 2 or 3 fireballs in one go? 0 Share this post Link to post
0 Gaia74 Posted April 21, 2020 It depends on what you want to do, but basically there are several A_custommissile or A_SpawnProjectile. This is the attack of a baron that shoots 3 baron spheres at once at different angles: Spoiler Missile: BOSS EF 8 A_FaceTarget BOSS G 0 A_Custommissile ("BaronBall", 32, 0, -15) BOSS G 0 A_Custommissile ("BaronBall", 32, 0, 15) BOSS G 8 A_Custommissile ("BaronBall", 32, 0, 0) Goto See This is another example that makes use of the Random factor, Shoot 8 spheres, 1 per tic at a range of 15, -15. Spoiler Missile: BOSS EF 8 A_FaceTarget BOSS GGGGGGGG 1 A_CustomMissile("Baronball", 32, 0, random(-15, 15), 0) Goto See I use more A_custommissile because I work for Zandronum, but you can use A_Spawnprojectile which is better (fixes a bug of Pitch), in any case, it applies the same way, several A_custommissile or A_SpawnProjectile at the same time. https://zdoom.org/wiki/A_CustomMissile (is deprecated) https://zdoom.org/wiki/A_SpawnProjectile 1 Share this post Link to post
If anyone has played CF, you will know what I mean here.
How do you get enemies like Barons, Imps, Hell Knights, ect., to throw 2 or 3 fireballs in one go?
Share this post
Link to post