Custom kickback flags for A_RailAttack or A_FireBullets

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Custom kickback flags for A_RailAttack or A_FireBullets

Re: Custom kickback flags for A_RailAttack or A_FireBullets

by Jarewill » Sun Dec 08, 2024 10:16 am

It's not though, ProjectileKickback works in Decorate as well.
There's a chance it may also require the +PUFFONACTORS flag for bullet puffs.

Re: Custom kickback flags for A_RailAttack or A_FireBullets

by SyntherAugustus » Sat Dec 07, 2024 1:17 pm

I'll test that in ZScript. I can't seem to make that work in Decorate.

edit: That function is ZScript exclusive but I found a workaround. Thanks for the help!

Re: Custom kickback flags for A_RailAttack or A_FireBullets

by Jarewill » Sat Dec 07, 2024 1:10 pm

Puffs support the ProjectileKickBack property, which will do exactly what you want.

Custom kickback flags for A_RailAttack or A_FireBullets

by SyntherAugustus » Sat Dec 07, 2024 11:08 am

edit: I did some research so I'm changing this a bit.

I would like a custom flag for A_FireBullets and A_RailAttack to customize the kickback of those functions. I'm aware of Weapon.Kickback, but I was hoping I could call functions that are separate from the general weapon (Say, a secondary attack or even a custom monster attack) that knocks back the enemy with a hitscan.

Top