Jump to content
  • 0

GZDoom Is Giving Me A False Error In Decorate


80s Kid

Question

6 answers to this question

Recommended Posts

  • 0

First of all, as somebody already mentioned, if you write those commas, you must also pass the arguments!

A_CUSTOMBULLETATTACK (0, 0, 1, 15, "A_SAW", 0, 0, AAPTR_TARGET, , , )

should be

A_CUSTOMBULLETATTACK (0, 0, 1, 15, "A_SAW", 0, 0, AAPTR_TARGET)

Secondly, your usage of A_CustomMeleeAttack & A_CustomBulletAttack is wrong; these functions are meant for monsters. If you want to make player weapons, use A_CustomPunch & A_FireBullets instead.

Here's a conversion from A_CustomBulletAttack to A_FireBullets

A_FireBullets(0, 0, 1, 15, "A_SAW")

 

Share this post


Link to post
  • 0
Posted (edited)
15 minutes ago, kalensar said:

305121430_Screenshotfrom2024-05-2108-50-37.png.904248a024077800acb788e4f7a5a594.png    You used the wrong bracket type.

 

 

47358068_Screenshotfrom2024-05-2108-51-10.png.d5e8185f2050cdee26e157d8d219e00b.png    This is the correct type of bracket

I used that before but I got an error that's why I changed it but I'll try it again :)

Edited by 80s Kid
Lack of information

Share this post


Link to post
  • 0
1 hour ago, 80s Kid said:

I Updated it but it gives me this error now

 

 

Either enter some values or deleted the comas

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...