A_FireScriptedMissile

Moderator: GZDoom Developers

Post Reply
User avatar
Dancso
Posts: 1906
Joined: Wed Oct 11, 2006 10:39 am
Location: at home.. Status: lazy like hell

A_FireScriptedMissile

Post by Dancso »

Hey.

There should be a way to make weapons/monsters give a TID and/or arguments (and maybe thing special) to the fired projectile.

Example: Let's say that plasmaballs shot from the plasmagun should be dependent on how much ammo the player has for the weapon, (so like, if an accumulator powered the weapon) the player might lose credit for any kills if the projectiles are spawned via ACS.

Optionally, directly setting damage and speed parameters could be useful as well in the function.

That's it, mostly.
User avatar
DavidPH
Posts: 382
Joined: Fri Aug 28, 2009 1:46 pm

Re: A_FireScriptedMissile

Post by DavidPH »

Being able to pass special/args via A_SpawnItemEx would probably be the most flexible. On the other hand, that would make it a 16 parameter function.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49238
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_FireScriptedMissile

Post by Graf Zahl »

Due to the way DECORATE spawning is used such a feature is mostly useless. And for the few limited actions that are possible Thing_ChangeTid is more than enough.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”