Since this was recently added, I plan to use it straight away. But just wanted to clarify since it since its somewhat confusing
What flag should I use if I want to use the pitch argument like A_CustomBulletAttack? Just CMF_OFFSETPITCH?
Moderator: Developers
NeuralStunner wrote:You'll probably want to use the "fire in current direction" flag. Make sure you use A_FaceTarget immediately before, or there'll be a slight delay and it won't hit you if you're on the move.
... Unless this is a function you want, of course!
CMF_AIMDIRECTIONXtyfe wrote:"Fire in current direction" flag? Now I'm even more confused
NeuralStunner wrote:CMF_AIMDIRECTIONXtyfe wrote:"Fire in current direction" flag? Now I'm even more confused
What is the pitch-argument in A_CustomBulletAttack?Xtyfe wrote:Since this was recently added, I plan to use it straight away. But just wanted to clarify since it since its somewhat confusing
What flag should I use if I want to use the pitch argument like A_CustomBulletAttack? Just CMF_OFFSETPITCH?

FDARI wrote:What is the pitch-argument in A_CustomBulletAttack?Xtyfe wrote:Since this was recently added, I plan to use it straight away. But just wanted to clarify since it since its somewhat confusing
What flag should I use if I want to use the pitch argument like A_CustomBulletAttack? Just CMF_OFFSETPITCH?
vert_spread?
CBAF_NOPITCH (flag)?
CBAF_EXPLICITANGLE (flag?
If you want to use regular aim, but with an adjusted pitch (x higher or lower), then use CMF_OFFSETPITCH. Pitch parameter is then added to the pitch that would normally be used. Addition of negative number is possible.
If you want to specify an explicit pitch (without messing with anything else) use CMF_ABSOLUTEPITCH.
If you want the missile to know what pitch it has been fired with, use CMF_SAVEPITCH (updates the pitch variable).
Return to Closed Feature Suggestions
Users browsing this forum: No registered users and 0 guests