Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Flammable

[Resolved] Re-activate switch after being pressed.

Recommended Posts

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.

Share this post


Link to post

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.

Share this post


Link to post

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?

Share this post


Link to post
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);
}

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×