Decorate: Flags

Moderator: GZDoom Developers

Hyena
Posts: 69
Joined: Mon Oct 27, 2003 1:31 pm
Location: The Death Orb of Planet Peehole

Decorate: Flags

Post by Hyena »

I notice in the wiki there are a few action functions that manipulate a few specific flags. Why not make a new action function that allows you to activate or deactivate any flag?
The flags already have the ability to be turned on or off. I just wonder why they can't be turned on or off during their states?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47962
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Already done for .96x: A_ChangeFlag("flagname", value)
Hyena
Posts: 69
Joined: Mon Oct 27, 2003 1:31 pm
Location: The Death Orb of Planet Peehole

Post by Hyena »

Cool, thanks. Is that still yet to be released?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47962
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

In the 8.8.2005 version it's in.
Hyena
Posts: 69
Joined: Mon Oct 27, 2003 1:31 pm
Location: The Death Orb of Planet Peehole

Post by Hyena »

o_O

I don't see it in files/lars . . . is it some unofficial version that only programmers have, or hidden somewhere?
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

Hyena
Posts: 69
Joined: Mon Oct 27, 2003 1:31 pm
Location: The Death Orb of Planet Peehole

Post by Hyena »

Oh man, this forum isn't even safe from D&D jokes.
Hyena
Posts: 69
Joined: Mon Oct 27, 2003 1:31 pm
Location: The Death Orb of Planet Peehole

Post by Hyena »

BOSS A 1 A_ChangeFlag("Stealth",1)

The monster isn't turning into a stealth monster. Did I do it right? I did a forum search and all I find on the A_ChangeFlag topic is this thread and a thread with 80 pages (no idea which one is correct)
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

Have you given it a renderstyle?

Return to “Closed Feature Suggestions”