Search found 4945 matches

by Blue Shadow
Tue Sep 30, 2025 8:05 pm
Forum: Bugs [GZDoom]
Topic: ZScript parser doesn't notice missing state label
Replies: 5
Views: 206

Re: ZScript parser doesn't notice missing state label

The Actor class has a Spawn state sequence which every actor inherits normally. It consists of one state: TNT1 A -1 . Considering your actor doesn't override that state sequence, it inherits it as is. When you attempted to spawn the actor, it did actually spawn. It was just invisible. Also, states ...
by Blue Shadow
Tue Sep 30, 2025 7:46 pm
Forum: Scripting
Topic: NPC Not Moving Toward Player Before Dialogue Starts
Replies: 5
Views: 212

Re: NPC Not Moving Toward Player Before Dialogue Starts

Looking at its code, the actor doesn't have any means to attack (no missile and melee state sequences), so remove the FRIENDLY flag. This way it becomes hostile and looks for players and chases after them.
by Blue Shadow
Tue Sep 30, 2025 7:26 pm
Forum: Scripting
Topic: Minor problem with a Blade of Agony script.
Replies: 2
Views: 128

Re: Minor problem with a Blade of Agony script.

Enjay wrote: Tue Sep 30, 2025 4:46 am I realise that Blade of Agony is unlikely to receive any updating [...]
On the contrary. The project is still being developed.
by Blue Shadow
Fri Jul 18, 2025 5:14 am
Forum: Creation, Conversion, and Editing
Topic: SLADE Discussion - Latest: v3.2.7 (25/Dec/2024)
Replies: 3113
Views: 401097

Re: SLADE Discussion - Latest: v3.2.7 (25/Dec/2024)

Thanks.

I already know about the make sectors mode in UDB. I just wanted to know if I can achieve a similar thing in SLADE because that's what I'm using for mapping currently, even though I have UDB installed, too.
by Blue Shadow
Wed Jul 16, 2025 12:00 am
Forum: Creation, Conversion, and Editing
Topic: SLADE Discussion - Latest: v3.2.7 (25/Dec/2024)
Replies: 3113
Views: 401097

Re: SLADE Discussion - Latest: v3.2.7 (25/Dec/2024)

I have two physically separate sectors that are joined as one. I'd like to split them so each is its own sector. Is there a way to do this?
by Blue Shadow
Mon Jul 14, 2025 5:57 pm
Forum: Closed Feature Suggestions [GZDoom]
Topic: Expand SetLineActivation to Change Repeatableness
Replies: 6
Views: 2208

Re: Expand SetLineActivation to Change Repeatableness

As long as your GZDoom and UDB are fairly recent, you should be able to use it. UDB's calltips files don't seem to be updated to include the new parameter. But they're just calltips. They shouldn't prevent you from using the new parameter and compiling the scripts successfully.
by Blue Shadow
Sun Jun 29, 2025 5:38 pm
Forum: Scripting
Topic: Any way to ensure teleport success?
Replies: 8
Views: 138

Re: Any way to ensure teleport success?

There's an easier and simpler way.

Code: Select all

script 1 (void)
{
	while (!TeleportOther(...))
	{
		Delay(35);
	}
}
The script will attempt to teleport the monster. If the teleportation fails, it'll try again every second until it succeeds.
by Blue Shadow
Sat Mar 22, 2025 7:48 am
Forum: General
Topic: bz2.dll, what is it for?
Replies: 1
Views: 257

bz2.dll, what is it for?

There's a file which is called bz2.dll bundled with GZDoom 4.14.1. What is it for? Checking the details pane in the file's properties yields nothing. There's no information whatsoever.

Something else I notice, which is unrelated to the above, is the lack of the license.zip in GZDoom 4.14.1.
by Blue Shadow
Mon Mar 17, 2025 2:42 pm
Forum: Scripting
Topic: ZScript statusbar auto select
Replies: 2
Views: 164

Re: ZScript statusbar auto select

Put this line before you draw the inventory bar:

Code: Select all

CPlayer.inventorytics = 0;
by Blue Shadow
Mon Mar 17, 2025 12:21 pm
Forum: Scripting
Topic: Problem with A_SpawnItemEx and flags
Replies: 4
Views: 164

Re: Problem with A_SpawnItemEx and flags

You're welcome.
Enjay wrote: Mon Mar 17, 2025 11:43 am I did look in the wiki for the random identifier thing, and ended up on the random page which doesn't cover this.
That's the ACS version of random() which doesn't allow setting those.
by Blue Shadow
Mon Mar 17, 2025 12:11 pm
Forum: Scripting
Topic: [Trying to Learn] Help with changing an inbuilt bit of ZScript from GZDoom.pk3
Replies: 2
Views: 571

Re: [Trying to Learn] Help with changing an inbuilt bit of ZScript from GZDoom.pk3

What you did there, couldn't have been done any other way. DoFootstep isn't virtual so you can't override it, which means you have to create a copy of it with a different name and modify away. While MakeFootsteps is virtual, you're trying to modify its code rather than add to it, so you have to copy ...
by Blue Shadow
Mon Mar 17, 2025 11:46 am
Forum: Scripting
Topic: Help with basic even handler
Replies: 3
Views: 382

Re: Help with basic even handler

Jarewill wrote: Sat Mar 08, 2025 12:28 pm GetMaxHealth() is a player function, [...]
That's incorrect.
by Blue Shadow
Mon Mar 17, 2025 11:39 am
Forum: Bugs [GZDoom]
Topic: Screen.DrawLineFrame won't accept color string
Replies: 3
Views: 376

Re: Screen.DrawLineFrame won't accept color string

Here, the color parameter for DrawLineFrame uses the PARAM_COLOR macro (or whatever it's called), while Dim, just above, use PARAM_INT. Maybe that's what's causing the discrepancy...?
by Blue Shadow
Mon Mar 17, 2025 11:27 am
Forum: Scripting
Topic: Problem with A_SpawnItemEx and flags
Replies: 4
Views: 164

Re: Problem with A_SpawnItemEx and flags

What's wrong here is that you're passing the flag/constant to the z velocity parameter. The flags parameter comes after the z velocity and angle parameters. Bonus question 2: in the A_SpawnItemEx code above (which I just copied and repurposed from *somewhere* (it's not the same as the default demon ...
by Blue Shadow
Wed Nov 06, 2024 5:52 am
Forum: Scripting
Topic: [Zscript] Weird crash with +FRIENDLY flag regarding custom A_ChaseFunction
Replies: 3
Views: 230

Re: [Zscript] Weird crash with +FRIENDLY flag regarding custom A_ChaseFunction

Still, it's strange how even with the limited fov, they can see ALLAROUND them... There's currently an issue with the FOV in A_LookEx being ignored or something like that. There are a couple of bug reports about this: here and here . can I optimize the code even more? Do you think it may have ...

Go to advanced search