A_SpawnProjectile & similar : Separate X and Y offsets

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Collegia Titanica
Posts: 83
Joined: Thu Jan 25, 2018 1:37 pm

A_SpawnProjectile & similar : Separate X and Y offsets

Post by Collegia Titanica »

I find it ridiculous that the firing functions don't have an X (frontward - backward ) compatibility like A_SpawnItemEx does.

Since doom mods are already in the wild,possibly using A_Custom and SpawnProjectile, perhaps a new A_SpawnProjectileEx would suffice ? This should have the x y z as first coordinates like the ItemEx function, as well as a fix for the pitch problem I discussed here:


viewtopic.php?f=2&t=59830
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: A_SpawnProjectile & similar : Separate X and Y offsets

Post by Matt »

Just use (A_)Spawn(ItemEx) to shoot the projectile.

I haven't actually used A_SpawnProjectile at all besides converting a bunch of A_CustomMissiles that I wrote in those days before A_SpawnItemEx could be used instead.
Post Reply

Return to “Feature Suggestions [GZDoom]”