Space Engineers

Space Engineers

Not enough ratings
[Obsolete] Launch Trigger Script
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
942.000 B
28 Nov, 2015 @ 6:34am
15 Dec, 2015 @ 12:57am
3 Change Notes ( view )

Subscribe to download
[Obsolete] Launch Trigger Script

Description
This script is used with the legacy Cruise Missile Script. For the Launch Control Script to use with the latest Easy Radar Homing Script, please use this instead:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=691441036


Very simple script to trigger an available Timer Block on the ship grid. Also able to select the closest or furthest to trigger.

Work In Progress: Trying to modify script such that it will detect a set of completely built blocks within the vicinity of the timer block, so as to launch only completely built missiles.


How To Use

Configuration

1) Change the script value "strDefaultTimerLoop" to the name of your missile's looping Timer Block to trigger. Script will select between Timer Blocks of this exact name.
2) Change the script value "strFixBatteryName" to the name of the missile's Battery. This is to fix a bug where after blueprinting, attribute Recharge is set, causing missile to go offline upon detachment from ship.
3) Change the script value "launchSelectionType" to the launch selection preference. 0 = Any Timer Block, 1 = Closest Timer Block, 2 = Furthest Timer Block.

Usage

Just trigger the script from your Toolbar as Run or Run with default arguments (Doesn't matter). DO NOT loop this script. It is meant to be triggered once for each missile launch.
Popular Discussions View All (1)
0
23 May, 2016 @ 5:57am
[Feature Request] Switch Gyros on at launch.
WallE
5 Comments
Pasta_power 22 Mar, 2016 @ 5:55pm 
Is there any way to trigger this on a non-looping timer?
ThGaming 22 Feb, 2016 @ 7:05am 
can you make a script to fix the battery issue without the launch sequencing ?
Alysius  [author] 29 Nov, 2015 @ 7:38am 
On ship. This script triggers the closest, furthest or any timer block to start missile computer loop.
elKabong31000 29 Nov, 2015 @ 6:37am 
p.s. Love your scripts :)
elKabong31000 29 Nov, 2015 @ 6:35am 
This goes on the ship? or the missile? (srry, a bit hung over :)) Also, does the missile have to be run on a battery? or can i use a reactor?