Giter Site home page Giter Site logo

simpleairlock's Introduction

SimpleAirlock

Simple Airlock Script for Space Engineers Thomas LaFreniere aka laftho v1.0 - May 29, 2016

This script matches closest pairs of doors on the current grid and ensures one is closed before the other opens.

Add this script to a Programmable Block and set a Timer Block loop of trigger now.

Simply add [airlock] to the name of each of the doors you wish to have this behavior. Script automatically will find the matching pair and manage their states.

If you wish to use a different key for your doors just call the Programmable Block with the script in your timer with your key value as the argument. Default key is [airlock]

simpleairlock's People

Contributors

laftho avatar

Watchers

 avatar James Cloos avatar

simpleairlock's Issues

Update 01.148 Broke Script

Program(57,86): Error: Only assignment, call, increment, decrement, and new object expressions can be used as statement
Program(58,76): Error: Not all paths return a value in lambda expression of type ‘Func<IMyTerminalBlock, bool >’

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.