ACS sector functions

Moderator: GZDoom Developers

Post Reply
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49071
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

ACS sector functions

Post by Graf Zahl »

Today I had to fight with a stubborn level. If I had had some ACS functions to query sector properties it would have been a lot easier. Like


fixed FindLowestFloorSurrounding(int tag)
fixed FindHighestFloorSurrounding (int tag)
fixed FindNextHighestFloor (int tag)
fixed FindNextLowestFloor (int tag)

fixed FindLowestCeilingSurrounding (int tag)
fixed FindHighestCeilingSurrounding (int tag)
fixed FindNextLowestCeiling (int tag)
fixed FindNextHighestCeiling (int tag)

Creating a fully functioning split door is nearly impossible with ACS because there is absolutely no way to determine before moving the sector how far it has to move to achieve the desired effect. These would help a lot.
User avatar
Your Name Is
Posts: 802
Joined: Sun Oct 31, 2004 5:06 pm
Location: Raleigh, NC
Contact:

Post by Your Name Is »

I like that. I second it
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Post by The Ultimate DooMer »

You'd have to do some maths, using the speed of the floor/ceiling. (speed of 8 = 1 unit/tic)
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”