Space Engineers

Space Engineers

Not enough ratings
Player in Main Cockpit detection and trigger
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
2.991 KB
1 Oct, 2020 @ 8:24am
1 Change Note ( view )

Subscribe to download
Player in Main Cockpit detection and trigger

Description
A script that detects if a player is in the main cockpit and, if so, turns on all the LCDs around that cockpit.


===========================
REQUIREMENTS
===========================


Requires a Timer block with, as actions :
- Run Programmable block (on which this script is)
- Trigger Now
(the check is made continuously)

Requires at least one cockpit and no limit, as long as the one you're aiming this script at is marked as 'Main Cockpit' (in its options). The script will be triggered as long as a player is IN the main cockpit.


===========================
My Other Links
===========================


Link to my other script for Player in Secondary cockpit detection :
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2243994066



===========================
References and similar scripts
===========================


Inspired from a mix of :

- 'CAT Pilot Check' script by Loues.S.Cat
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=527842824

- 'Get All Blocks from a Group' script by Jimmacle
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=369399159

- 'Apply Group' script by goatsestretchgoals
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=422933076

- 'Apply Group - Dump Action Names' script by goatsestretchgoals
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=422934528