I was making a weapon that has a custom punch in it, but it always throws a minor error when loading it because since it doesn't steal armor I put nothing in the "BasicArmorBonus" argument of the code. It runs as intended, but I want to avoid having a bunch of these errors when I make weapons in the future. Does anyone know what argument to use in this scenario to prevent this yellow text from appearing again?
I've tried, null, 0, false, "", and many others, all with the same result.
A_CustomPunch(1, FALSE, CPF_NOTURN, "BulletPuff", 64, 0, 0, "THIS VALUE HERE GIVES THE ERROR", "Weapon/MeleeHit")
Question
DiR
I was making a weapon that has a custom punch in it, but it always throws a minor error when loading it because since it doesn't steal armor I put nothing in the "BasicArmorBonus" argument of the code. It runs as intended, but I want to avoid having a bunch of these errors when I make weapons in the future. Does anyone know what argument to use in this scenario to prevent this yellow text from appearing again?
I've tried, null, 0, false, "", and many others, all with the same result.
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.