furyweb Posted January 6, 2019 So I want to created "A_ZoomFactor" effect, or for that matter other effects on a successful hit for my weapon. Is this possible with decorate?. Thanks. 0 Quote Share this post Link to post
0 furyweb Posted January 6, 2019 So I figure I could do this with a A_JumpIf but the problem is what do I use for monster being hit. I Tried "pain" "A_Pain" and just get and error so the ? mark is where I need something for this to work AltFire: MHP1 ABC 2 MHP1 DE 1 TNT1 A 0 A_Jumpif (? "AltFire2") MHP1 F 4 A_CustomPunch(20, FALSE, 0) MHP1 GHI 2 MHP1 JK 2 Goto Ready AltFire2: MHP1 ABC 2 MHP1 DE 1 TNT1 A 0 A_ZoomFactor (1.050) MHP1 F 4 A_CustomPunch(20, FALSE, 0) TNT1 A 0 A_ZoomFactor (1.0) MHP1 GHI 2 MHP1 JK 2 0 Quote Share this post Link to post
0 furyweb Posted January 6, 2019 YES!!!. So after hours of reading on forums and zdoom wiki I found the solution. And its so friggin simple and stupid anyway AltFire: MHP1 ABC 2 MHP1 DE 1 TNT1 A 0 A_JumpIfCloser(128, "AltFire2") //This checks to see how close the monster is then jumps to said state MHP1 F 6 A_CustomPunch(5, FALSE, 0) MHP1 GHI 4 MHP1 JK 2 Goto Ready AltFire2: TNT1 A 0 A_ZoomFactor (1.050) MHP1 F 6 A_CustomPunch(5, FALSE, 0) TNT1 A 0 A_ZoomFactor (1.0) MHP1 GHI 4 MHP1 JK 2 Goto Ready 0 Quote Share this post Link to post
Question
furyweb
So I want to created "A_ZoomFactor" effect, or for that matter other effects on a successful hit for my weapon. Is this possible with decorate?.
Thanks.
Share this post
Link to post
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.