Space Engineers

Space Engineers

Not enough ratings
Tutorial World For Programming
   
Award
Favorite
Favorited
Unfavorite
Type: World
File Size
Posted
46.803 KB
1 Jan, 2015 @ 5:33pm
1 Change Note ( view )

Subscribe to download
Tutorial World For Programming

In 1 collection by Nekochan
Space Engineers Tutorial Scripts
3 items
Description
This world contains all the code with comments on how to open a set of rotating doors, play a sound while they open, and have lights blink while the doors are opening. To activate, simply press the button on the button console. I will say I had to use timer blocks because Thread is currently blocked from use by the developers.
2 Comments
Nekochan  [author] 2 Jan, 2015 @ 3:17am 
I couldn't find the source of the rocket sound myself, probally a game bug. As for the timers I used them to semplify the lights. Normally after activating the other features I would turn the lights on, sleep a few seconds, and turn them off. With the timers, the first timer turns them on, starts the next timer which has a delay, and when it finally triggers its sequence, turns the lights off and stops.
Jetsean12o07 1 Jan, 2015 @ 7:29pm 
Just used this to try and get my head around what classes and hierarchy they've got going on, kinda sad that theres not too much interaction that they added (unless i missed something). I have 2 questions.
1). What roll do the timer blocks play? I seen they were set to 2 different times I think and I couldn't tell what they did sorry if this is stupid I probably should have studied it a bit longer.
2). I kept hearing the sounds of rockets firing or something similar near the top right side of the box if your looking out of it, I reloaded the world and it was still there, any idea what that could have been.

Sorry if any of this is obvious i'm new to the game but the scripting should come to me with some help. Also thanks very much for this im gonna keep it to remind me what list types to use and how to use the actions.