Thing_ProjetileIntercept Usage?

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!)
XASSASSINX
Posts: 382
Joined: Tue Dec 20, 2016 4:53 pm
Location: MURICAA BROTHER! Just kidding, Brazil.

Thing_ProjetileIntercept Usage?

Post by XASSASSINX »

Hello guys, It's been a LOOONG time since i post something here, I'm finally working back on my projects lol.
Anyways, i'm making a mod that i always wanted but never found one, One that improves the monster AI (It's looking good for my standards)

My questions is, how to make an enemy shoots where you are going without the use of ACS? I think it's possible, theres Thing_ProjectileIntercept, but how do i use it exactly? Like this?

Code: Select all

HEAD BC 5 FaceTarget
         HEAD B 1 Thing_ProjectileIntercept(0,10, "CacodemonBall", 1)
         HEAD B 3 Head_Attack 
Sorry if it's looking weird, But is that the order or i'm completely wrong??

Return to “Scripting”