"SEEFRIENDLYMONSTERS" is an unknown flag...?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
TIIKKETMASTER
Posts: 31
Joined: Thu Jul 29, 2021 2:02 pm

"SEEFRIENDLYMONSTERS" is an unknown flag...?

Post by TIIKKETMASTER »

Code: Select all

Script error, "mymod.wad:DECORATE" line 8:
"SEEFRIENDLYMONSTERS" is an unknown flag
this. i genuinely don't know what the problem is. it IS a flag on the zdoom wiki. not sure why it is saying it is unknown.
here's the full code:

Code: Select all

actor bluearachnotron : arachnotron 30000
{
//$Category "bluemonsters"
translation "128:143=16:47", "144:151=16:47"
+NOINFIGHTSPECIES
+SEEFRIENDLYMONSTERS
species "blueteam"
}
yum13241
Posts: 781
Joined: Mon May 10, 2021 8:08 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): EndeavorOS (basically Arch)
Graphics Processor: Intel with Vulkan/Metal Support
Contact:

Re: "SEEFRIENDLYMONSTERS" is an unknown flag...?

Post by yum13241 »

It's +SEESFRIENDLYMONSTERS. You dropped the second s in SEES.
User avatar
Graaicko
Posts: 531
Joined: Tue Jun 17, 2014 11:22 pm
Graphics Processor: nVidia (Legacy GZDoom)

Re: "SEEFRIENDLYMONSTERS" is an unknown flag...?

Post by Graaicko »

Just tried it both "+SEESFRIENDLYMONSTERS" and "SEEFRIENDLYMONSTERS" are non-functional or correct.
Professor Hastig
Posts: 230
Joined: Mon Jan 09, 2023 2:02 am
Graphics Processor: nVidia (Modern GZDoom)

Re: "SEEFRIENDLYMONSTERS" is an unknown flag...?

Post by Professor Hastig »

yum13241 wrote: Sun May 21, 2023 7:33 am It's +SEESFRIENDLYMONSTERS. You dropped the second s in SEES.

No it's not: DEFINE_FLAG(MF8, SEEFRIENDLYMONSTERS, AActor, flags8),
No 'S' there.

The real question to the OP is, what GZDoom version are you using? This was one of the most recently added flags, added in 4.8.0, if I am not mistaken.
User avatar
Graaicko
Posts: 531
Joined: Tue Jun 17, 2014 11:22 pm
Graphics Processor: nVidia (Legacy GZDoom)

Re: "SEEFRIENDLYMONSTERS" is an unknown flag...?

Post by Graaicko »

heh, yeah now it works. Updated my GZDoom fixes it. lol thanks.
Post Reply

Return to “Scripting”