Space Engineers
Недостатньо оцінок
Tutorial World For Programming
   
Нагородити
До улюбленого
В улюблених
Прибрати
Type: World
Розмір файлу
Додано
46.803 KB
1 січ. 2015 о 17:33

Підпишіться, аби завантажити
Tutorial World For Programming

В колекціях (1) автора Nekochan
Space Engineers Tutorial Scripts
Предметів: 3
Опис
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
Nekochan  [автор] 2 січ. 2015 о 3:17 
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 січ. 2015 о 19:29 
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.