Custom Monster that Chain Attacks [UNRESOLVED/WIP]

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Psychojack88
Posts: 54
Joined: Sat May 07, 2022 10:12 pm
Graphics Processor: nVidia (Modern GZDoom)

Custom Monster that Chain Attacks [UNRESOLVED/WIP]

Post by Psychojack88 »

I have a custom monster, a mini boss concept, that does a thrust attack. When it hits, I would like it to do a second one, specifically targeting another monster. If it misses, it stop the chain. What functions would allow me to do something like this, where it can simply tell if a hit connects, then switches to another target nearest to it, even if the first enemy is still alive.

This is potentially for multiplayer or single player levels with friendlies around for anti crowd control.
Last edited by Psychojack88 on Fri Oct 24, 2025 11:18 am, edited 1 time in total.
Psychojack88
Posts: 54
Joined: Sat May 07, 2022 10:12 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: Custom Monster that Chain Attacks

Post by Psychojack88 »

Just revisiting this in case if anyone knows how to make an enemy switch targets immediately after an attack. That is the main foundation for this to work. Anyone have any ideas?

Return to “Scripting”