Extend A_Set/UnSet functions to all flags in 96?

Moderator: GZDoom Developers

User avatar
solarsnowfall
Posts: 1581
Joined: Thu Jun 30, 2005 1:44 am

Extend A_Set/UnSet functions to all flags in 96?

Post by solarsnowfall »

I'm working on a monster that uses the FloatBob flag, and it has a rapid fire projectile attack. Because it bobs up and down, the projectiles don't appear to come out of the correct location some of the time. It would be really handy to be able to use something like A_UnsetFloatBob at the start of the Missile state.

By chance, is there some other way around this problem I've perhaps overlooked?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47986
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

There's A_ChangeFlag("flagname", value) in the latest .96x.
User avatar
solarsnowfall
Posts: 1581
Joined: Thu Jun 30, 2005 1:44 am

Post by solarsnowfall »

Thank you Graf. What would I do without you? :)

Return to “Closed Feature Suggestions”