Very Specific Question Involving TID's And Sectors

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!)

Very Specific Question Involving TID's And Sectors

Postby crazyflyingdonut » Sun Sep 16, 2018 4:02 pm

Yes, I've asked a series of questions already recently. And I'm hoping that this will be the last one before I release my upcoming project. But... this one is EXTREMELY specific.

Is there an ACS script I can use to say, "If all monsters with a TID of 666 are killed, then make sectors 149, 150, 151, and 152's floor scroll down until those sectors floors gets to 0"?

Thank you very much, and have a good day.
User avatar
crazyflyingdonut
GUESS WHO'S BACK!?
 
Joined: 15 Jul 2018
Location: [REDACTED]
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)

Re: Very Specific Question Involving TID's And Sectors

Postby Enjay » Sun Sep 16, 2018 4:23 pm

There are a number of different ways to do it and they might not all suit your exact situation in your map, but as a starting point, I'd probably do it something like the attached.
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: Very Specific Question Involving TID's And Sectors

Postby crazyflyingdonut » Mon Sep 17, 2018 1:36 pm

Enjay wrote:There are a number of different ways to do it and they might not all suit your exact situation in your map, but as a starting point, I'd probably do it something like the attached.


Thank you for helping me, both in the ZDoom Forums and in the ZDoom Forums PM and in the e-mail.
User avatar
crazyflyingdonut
GUESS WHO'S BACK!?
 
Joined: 15 Jul 2018
Location: [REDACTED]
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)


Return to Scripting

Who is online

Users browsing this forum: No registered users and 1 guest