A_Burst flag: BF_DONTTRANSFERALPHA

Moderator: GZDoom Developers

Post Reply
User avatar
amv2k9
Posts: 2178
Joined: Sun Jan 10, 2010 4:05 pm
Location: Southern California

A_Burst flag: BF_DONTTRANSFERALPHA

Post by amv2k9 »

By default, A_Burst transfers the Alpha setting of the calling actor to the actor type the function spawns. Since this might not be desirable in all cases, this flag is suggested.
Last edited by amv2k9 on Tue Apr 19, 2016 6:55 pm, edited 1 time in total.
Gez
 
 
Posts: 17835
Joined: Fri Jul 06, 2007 3:22 pm

Re: A_Burst flag: BRS_DONTTRANSFERALPHA

Post by Gez »

Flag name prefix would be BF_, not BRS_.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_Burst flag: BF_DONTTRANSFERALPHA

Post by Graf Zahl »

Not really needed. You can achieve this by changing the alpha to the desired value before calling A_Burst and restoring it afterward.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”