Space Engineers

Space Engineers

[Archive] Rdav's PVP Homing Missile Script
pro100tv 14 Jun, 2016 @ 2:59pm
Script disabling other sensors on the missile
@Rdav I need to place additional sensor witch is responsible for detonating explosives near the target, on the rockets, but it seems that this solution just doesn`t working because of the script. I`ve change the name of the sensor but it still seems to be turned off by the script.. ;/

I tried that:

"Open the script go to line 281 you should see:
{
MISSILE_SENSORS.Add(SENSOR);
}

Replace it with:

if(SENSOR.DisplayNameText =="MISSILE")
{
MISSILE_SENSORS.Add(SENSOR);
} "

It doesn`t seem to work for me. It just turning off that auto aim function after first rocket into target and nothing just happens when I even hit the target with the rocket. Btw - I noticed that this isn`t probably still the line 281 (325 if i`m correct).
I`ve started new discussion because I`ve seen a lot of ppl have the same problem in the comment section, so maybe we can solve it here.
Last edited by pro100tv; 14 Jun, 2016 @ 3:00pm