[Not a bug] SetThingSpecial and ThingCountSector when barrel is spawned

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

SetThingSpecial and ThingCountSector when barrel is spawned

Postby SPZ1 » Sat Oct 17, 2020 10:05 am

I found this bug between SetThingSpecial and ThingCountSector when spawning a Doom explosive barrel (or any similar ACTOR).
You do not have the required permissions to view the files attached to this post.
Last edited by SPZ1 on Wed Oct 21, 2020 3:07 pm, edited 1 time in total.
User avatar
SPZ1
 
Joined: 02 Aug 2017
Location: Illinois

Re: SetThingSpecial and ThingCountSector

Postby Graf Zahl » Sat Oct 17, 2020 11:32 am

This topic is lacking a bug description. Please add one
I won't take a look unless I know what to look for.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: SetThingSpecial and ThingCountSector

Postby Ian Bidgeridge » Sat Oct 17, 2020 12:30 pm

When you push the right barrel into the water and detonate it, script 02 does not activate. When you push both barrels into the water and detonate the left one, the script DOES activate. Pushing both barrels into the water and detonating the right one does not activate the script! Basically, the right barrel is unable to tell that it is in the water sector.

Check out the ACSMAP01 lump in the .WAD fie because all the source code is there.
Ian Bidgeridge
 

Re: SetThingSpecial and ThingCountSector when barrel is spaw

Postby Graf Zahl » Sat Oct 24, 2020 4:49 am

How can it? It only runs the script when it dies, and that means it won't get counted.
It's more a documentation issue. ThingCountSector works just like ThingCount, which only counts actors with a positive health.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: SetThingSpecial and ThingCountSector when barrel is spaw

Postby SPZ1 » Sat Oct 24, 2020 6:57 am

OK, I see your point. Well back to the drawing board then! :shucks:
User avatar
SPZ1
 
Joined: 02 Aug 2017
Location: Illinois

Re: SetThingSpecial and ThingCountSector when barrel is spaw

Postby SPZ1 » Sat Oct 24, 2020 12:18 pm

Sorry for the double :mrgreen: post but I figured out a way around this: I made a plunger to blow the explosives!

SCREEN1.jpg

SCREEN2.jpg

SCREEN3.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
SPZ1
 
Joined: 02 Aug 2017
Location: Illinois


Return to Closed Bugs

Who is online

Users browsing this forum: phantombeta and 0 guests