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.

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.
You do not have the required permissions to view the files attached to this post.
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 0 guests