Flammable Posted September 5, 2013 Hello, i have got some question i need answer to On this picture i show you what do i mean http://cs424424.vk.me/v424424150/424a/GoASJpodAxg.jpg My question is how do i make repeatable switch, that become repeatable after some action? P.S. I use GZDoom Builder and Mapping in UDMF Format. 0 Share this post Link to post
Searcher Posted September 6, 2013 You might be able to close a little door over it that you can not hit the switch through. Then re-open that little door after some action later. Or something along those lines. Maybe block it with rising steel or what ever that you can lower later. 0 Share this post Link to post
Rayziik Posted September 6, 2013 Or since you are mapping in UDMF format you could write a script to provide this level of control. I can't help with that because I lack the experience, but that's always an option. 0 Share this post Link to post
Flammable Posted September 6, 2013 1. I dont need to lock switch from players, I want UNrepeatable switch, that restart itself after linedef action. But it is nice idea if i wanted to lock it from players. 2. Yeah, i thought about writing the script, But i did not found the ACS script command to do that. Any more ideas? 0 Share this post Link to post
Cat God25 Posted September 6, 2013 I think this is what you're after. http://zdoom.org/wiki/SetLineSpecial 0 Share this post Link to post
Flammable Posted September 6, 2013 Cat God25 said:I think this is what you're after. http://zdoom.org/wiki/SetLineSpecial This is exactly what i needed. Thanks. script 28 (void) { Floor_LowerToLowest (38, 80); SetLineSpecial (39, 35, 38, 80, 15); } (Click a picture for more info) http://cs424424.vk.me/v424424150/4285/gj-lFeCkP6g.jpg 0 Share this post Link to post
Flammable Posted September 6, 2013 Flammable said:This is exactly what i needed. Thanks. script 28 (void) { Floor_LowerToLowest (38, 80); SetLineSpecial (39, 35, 38, 80, 15); } (Click a picture for more info) http://cs424424.vk.me/v424424150/4285/gj-lFeCkP6g.jpg Better option http://cs424424.vk.me/v424424150/42b2/Bw4-KuiBjQ0.jpg script 200 (void) { Floor_RaiseByValueTimes8 (38, 80, 30); SetLineSpecial (39, 80, 201); } script 201 (void) { Floor_LowerToLowest (38, 80); SetLineSpecial (40, 80, 200); } 0 Share this post Link to post