[No] ACS sector functions

Moderator: GZDoom Developers

ACS sector functions

Postby Graf Zahl » Tue Mar 22, 2005 2:25 pm

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
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby Your Name Is » Tue Mar 22, 2005 6:39 pm

I like that. I second it
User avatar
Your Name Is
Wake up and smell the ashes.
 
Joined: 31 Oct 2004
Location: Raleigh, NC

Postby The Ultimate DooMer » Tue Mar 22, 2005 8:36 pm

You'd have to do some maths, using the speed of the floor/ceiling. (speed of 8 = 1 unit/tic)
User avatar
The Ultimate DooMer
Will you start the fans please!
 
Joined: 15 Jul 2003
Location: Industrial Zone


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: Xtyfe and 0 guests