Space Engineers

Space Engineers

CAT Pilot Check
8 Comments
Nathaniel Garro 16 Oct, 2020 @ 11:14pm 
@kortikal , I created two scripts that do approximately what you are looking for. Here are the links :

Player in Main cockpit detection and trigger
Player in secondary cockpit detection and trigger

Again, I only managed to do it thanks to @Loues.S.Cat's script so I'm very thankful.
MrFox 25 Dec, 2015 @ 7:06am 
same thought, have this IF PILOT isnt there turn on the ships dampners?
kortikal 7 Oct, 2015 @ 5:53am 
My english is not perfect but:
1- When i sit down in a cockpit: then activate timer (who have a special name like [CAT1] timer
2 -When i start to move: activate a 2nd timer: [CAT2] timer
3- When i get ou cockpit: activate a last timer: [CAT3] timer

Then we could sit in a cockpit: it activate ship system (by the timer 1)
When we start to pilot it could activate thrusters, radars, antenas, things and stuff (by the timer 2)
When we log of cockpit it coul shut down LCD or stuff (by timer 3)

Pretty sure there is more possibility, but i'm not a scripter.

I'm pretty sure a script like this will have succes ( a automated cockpit detection system).
Loues.S.Cat  [author] 6 Oct, 2015 @ 7:41am 
this script isnt made for a particular task. It is just a few useful functions. If you want something to happen when your ship is piloted you would need to write a script or set up timers to perform that function then set up this script to do a pilot check and start the required action when it gets a true value back. You'd have to let me know what it is you actualy want to get it set up.
kortikal 6 Oct, 2015 @ 6:15am 
like this: * isPiloted() activate timer 1 if ON
* isAutoPiloted() activate timer 2 if ON
* findMain() activate timer 3 if ON
kortikal 6 Oct, 2015 @ 6:13am 
ah, 1 timer for the script, yes it's like a lot script, but if i'm good, this one can activate a timer (coupled with a script who can activate a timer) ?
Loues.S.Cat  [author] 6 Oct, 2015 @ 5:53am 
Yes... But the script needs a timer to run, so in all probability you would be better off having a timer run the script every now and again and then having the script do what you need to happen when someone is in the cockput. Which could be start another timer if need be.
kortikal 6 Oct, 2015 @ 4:48am 
Hi, i don't really understand, but i need something like this i think: When i sit down in the cockpit i wan't the possibility to activate a timer block. Does it have a chance to do this ?