Monster summons other monsters

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

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!)
User avatar
Hidden Hands
Posts: 1053
Joined: Tue Sep 20, 2016 8:11 pm
Location: London, England

Monster summons other monsters

Post by Hidden Hands »

I've toyed about with this but I cannot seem to get this to work... I have a monster that stands stationary at the top of a mountain. It's only attack is to summon enemies "(lost soul style mini monsters) that attack the player. But I cannot get him to summon them. He just stands there doing the attack animations but no summon is happening. I checked out the Pain Elemental decorate, and even that doesn't clarify this.

Strangely enough I was able to do this successfully back in 2014. What have I forgotten? What is the vital tag I'm missing?

Thanks in advance.
User avatar
ramon.dexter
Posts: 1562
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Monster summons other monsters

Post by ramon.dexter »

Code of the monster?
User avatar
krokots
Posts: 296
Joined: Tue Jan 19, 2010 5:07 pm

Re: Monster summons other monsters

Post by krokots »

You have to post the code for that summoning monster so we can figure out what is missing. You are using A_PainAttack ?

Return to “Scripting”