Help understanding the Hate thing in actors (NO ZSCRIPT)

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!)
Post Reply
tetssian
Posts: 40
Joined: Wed May 30, 2012 1:09 pm

Help understanding the Hate thing in actors (NO ZSCRIPT)

Post by tetssian »

Like the title says, i need to fully understand how hate works in hexen, doom, etc. Since i want to know how the change target works in doom and how to modify it via decorate, what Im trying to do is to make monsters attack other monsters not the player but this monster is not a friendly, i already made this but i need the monster to focus on his target and dont change targets but the thing is how to make that, ho wto force the monster to focus on a target untill the target is dead.
User avatar
RKD
Posts: 148
Joined: Sat Mar 19, 2022 9:52 am
Location: Argentina

Re: Help understanding the Hate thing in actors (NO ZSCRIPT)

Post by RKD »

While I can't help you with the part about modifying that behaviour, I think I can point you to this video from decino. At least it explains how infighting works via code and all that fancy stuff, plus it's a short video.

tetssian
Posts: 40
Joined: Wed May 30, 2012 1:09 pm

Re: Help understanding the Hate thing in actors (NO ZSCRIPT)

Post by tetssian »

Ok ty for the video it will help
Post Reply

Return to “Scripting”