Space Engineers

Space Engineers

View Stats:
Q.C Cosmos Jul 23, 2015 @ 5:47am
Configure button to do more than one Task
Im trying to configure a button that opens a door and plays a door opening sound but i cant figure it out. can you only have a button do 1 thing at a time?
< >
Showing 1-15 of 17 comments
error1440 Jul 23, 2015 @ 5:56am 
Set up a timer block to do all of those actions you want, then set the button you want to trigger the timer block.
Professor Nipples Jul 23, 2015 @ 6:04am 
^ this...BUT...it sure would be nice if you could designate the control panel on the door to act like a button in order to avoid a 4 button panel that you only use 1 button out of.
Q.C Cosmos Jul 23, 2015 @ 8:11am 
Ive no idea how to do this ill experiment
error1440 Jul 23, 2015 @ 8:17am 
Build the timer block.

Go into the control panel, and select the timer block, then click setup actions.

Add in all the options you want, you can add 9 options, and theres 9 toolbars each with 9 slots, giving you a massive range of options.

Next, set up the control panel. Set the button to timer block, with "Trigger Now" as the option.
Loues.S.Cat Jul 23, 2015 @ 8:30am 
Eventualy, complicated actions are going to eventualy reach the point of being grosly impractical without something like a programabvle block.
If you know a little programing you can set up a button to do just about anything, and you only need one programable block to do it.
If you wanted a light to toggle between 3 groups of lights for example, set up a programable block that looks for the argument of "Next", "Last", "One", "Two" or "Three"
You can then set a button to send any one of these commands to the programable block and it can then turn on the next/last set of lights and turn of the current set, or jump stright to whatever set you want, no timers required.
You can add other functions too, have a single programable block manage all your button inputs based simply on what command you set.
It saves you having to set up dozens of timer blocks in really weird configurations :p

vVVVv BIT ABOUT DOING IT WITHOUT PROGRAMING vVVVv
alternativly, this is the kind of method you need to get this to work without a programable block.
I'm not currently in a positiuon to test this setup, I am testing something else, but this is the basic idea of it

Start with Three timers, Start, Open and Close. set close to off, set open to on. add start to the button pannel.
Open open the door and triggers the sound.
Close closes the door and plays the sound.
Start will toggle each of the other timers between on and off and then try to trigger both other timers.

Button triggers timer Start
>Timer Start toggles Timer Open on/off
>Timer Start toggles Timer Close on/off
>Timer Start tries to trigger Timer Open
>Timer Start tries to trigger Timer Close
(This wont happen if timer Open is off)
>>Timer Open opens the door
>>Timer Open plays the sound
(This wont happen if Timer Close is off)
>>Timer Close closes the door
>>Timer Close triggers the sound

The way it works is to make sure only one of the two timers open or close is on at a time and to flip which is on or off each time the start timer is called before triggering them. You may need to add another time if the toggle on/off needs a delay between that and triggering the timer
Last edited by Loues.S.Cat; Jul 23, 2015 @ 8:31am
Q.C Cosmos Jul 24, 2015 @ 10:23am 
I dont know how to do programming also is there a way to replace the default door button with to link to timer block becuase i cant place buttons in passageways
Loues.S.Cat Jul 24, 2015 @ 12:57pm 
Originally posted by Oscilio:
I dont know how to do programming also is there a way to replace the default door button with to link to timer block becuase i cant place buttons in passageways

Nope. Doors cant be used as buttons sadly. and the second method I sugested is programing free if you dont mind using loads of timers.
lPaladinl Jul 24, 2015 @ 12:59pm 
You can also try to get around things with just groups, but that really limits your options.

Timer Blocks are pretty much the key to complicated button tasks.
Loues.S.Cat Jul 24, 2015 @ 1:02pm 
Originally posted by lPaladinl:
You can also try to get around things with just groups, but that really limits your options.

Timer Blocks are pretty much the key to complicated button tasks.

Can't apply most actions to a group of mixed objects though, so you need timers anyway to allow multiple groups of single objects types to be effected at the same time.
Skeloton Jul 24, 2015 @ 2:03pm 
Originally posted by Professor Nipples:
^ this...BUT...it sure would be nice if you could designate the control panel on the door to act like a button in order to avoid a 4 button panel that you only use 1 button out of.
Just press the use key.
Professor Nipples Jul 24, 2015 @ 2:31pm 
Originally posted by Skeloton:
Originally posted by Professor Nipples:
^ this...BUT...it sure would be nice if you could designate the control panel on the door to act like a button in order to avoid a 4 button panel that you only use 1 button out of.
Just press the use key.

I assumed it was known that I was looking for button function, not door open function.
lPaladinl Jul 24, 2015 @ 2:34pm 
Originally posted by Professor Nipples:
^ this...BUT...it sure would be nice if you could designate the control panel on the door to act like a button in order to avoid a 4 button panel that you only use 1 button out of.

Yeeeah I'm not sure why they don't have a single button option like they do for small ships.
Q.C Cosmos Jul 25, 2015 @ 12:03pm 
so bascially building a passage is pointless f i want to use sound blocks
UltraEmailMan Apr 11, 2018 @ 2:28pm 
I hate to practice the dark art of necromancy, but Loues.S.Cat, you sir just saved me from having to learn coding for a simple door! Thank you for sharing your brilliant idea!
Karmaterrorᵁᴷ Apr 12, 2018 @ 6:33am 
Originally posted by Oscilio:
so bascially building a passage is pointless f i want to use sound blocks

Those passageway blocks are a little bit useless imo. Good astheticly but leaving your coridoor as 1 block space leaves more options. You could use one of the 2x1 armour slopes for the side wall so it has some shape, not just a square passageway. Then you can have lights, buttons sound blocks, whatever you want in there :)
Last edited by Karmaterrorᵁᴷ; Apr 12, 2018 @ 6:34am
< >
Showing 1-15 of 17 comments
Per page: 1530 50

Date Posted: Jul 23, 2015 @ 5:47am
Posts: 17