Chao-G Posted May 25, 2023 Hi, I'm using Doom Builder X to build maps, and I believe I have the latest stable build that was available for download. I'm trying to make a switch that would perform what would be considered multiple actions on a sector here: I want the switch (in the lower left of the image) to raise the Floor Height, change the Floor Texture and remove the sector's Damage attribute all at once. I set one action on the Linedef that has the switch texture, but I am unsure how to add more, or if that is even possible. Just to test things out, I set the Linedef action to alter the Sector Damage: One method I have already tried is creating a Sector Actions Thing that performs one of the actions, while the Linedef performs the other. Under "Sector Actions" I chose Player Uses Wall, and in the Action tab, I chose Floor Raise to Nearest Floor: But the issue is that while the Linedef acts as a switch and performs the action of setting the Sector Damage to 0, I am only able to activate this Thing once the Linedef has been interacted with. Is there any way to perform both, or multiple actions with just a single interaction with the Linedef? I am not sure if I have even come across the option to change Floor Texture under any of these Linedef or Sector actions. What is the best way I should go about it? 0 Quote Share this post Link to post
Gez Posted May 25, 2023 Given that you're using a Hexen-style parameterized special for your linedef, that means your map format is either Hexen or UDMF. In either case, there is a convenient way to have one line performing multiple actions, it is to make a script (with ACS), from which multiple actions can be run, and to have the line activate the script. That said, in this particular case, there are built-in actions that will do all you want in one go: raise floor (by a given value), change the texture, and change the sector type: Floor_RaiseByValueTxTy, or Generic_Floor. 1 Quote Share this post Link to post
Chao-G Posted May 25, 2023 9 minutes ago, Gez said: Given that you're using a Hexen-style parameterized special for your linedef, that means your map format is either Hexen or UDMF. In either case, there is a convenient way to have one line performing multiple actions, it is to make a script (with ACS), from which multiple actions can be run, and to have the line activate the script. That said, in this particular case, there are built-in actions that will do all you want in one go: raise floor (by a given value), change the texture, and change the sector type: Floor_RaiseByValueTxTy, or Generic_Floor. Found what I was looking for in the latter! Thanks! 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.