Some weapon functions have certain arguments that require flags, such as A_CustomPunch, but some of the features are not relevant to the weapon I'm making, so it doesn't require any of the flags listed on the wiki, but what do I put in the slot if there is none? Same goes for the armorbonustype string needed in the same function.
So far I've just been typing in "null" and it runs properly but shows an error in the console. I think there's a proper way to declare no flags/stringtypes but I haven't been able to find it on the wiki. It would help with the debug process if I could properly fix all of these benign errors.
Question
DiR
Some weapon functions have certain arguments that require flags, such as A_CustomPunch, but some of the features are not relevant to the weapon I'm making, so it doesn't require any of the flags listed on the wiki, but what do I put in the slot if there is none? Same goes for the armorbonustype string needed in the same function.
So far I've just been typing in "null" and it runs properly but shows an error in the console. I think there's a proper way to declare no flags/stringtypes but I haven't been able to find it on the wiki. It would help with the debug process if I could properly fix all of these benign errors.
I hope someone else knows what I could do.
Share this post
Link to post
3 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.