Missile Beep

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Anonymissimus
---- E L I T E ----
---- E L I T E ----
Posts: 299
Joined: Mon Apr 27, 2015 9:03 pm

Re: Missile Beep

Post by Anonymissimus »

Such addon already existed: https://bb.oolite.space/viewtopic.php?f=4&t=17813
My fault I never uploaded it to the manager.
warning sound if a missile is inbound: Missile warning
User avatar
hoqllnq
Commodore
Commodore
Posts: 154
Joined: Sun Jan 08, 2006 7:32 pm

Re: Missile Beep

Post by hoqllnq »

I was not aware. So now there are two.
No reason to not add yours to the manager as well.

Funny how we both chose the same topic as a first thing to dabble into OXPing..
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: Missile Beep

Post by Svengali »

Here. Have cookie! And welcome to the dark side .-)
User avatar
Milo
---- E L I T E ----
---- E L I T E ----
Posts: 462
Joined: Mon Sep 17, 2018 5:01 pm

Re: Missile Beep

Post by Milo »

When my ship was destroyed with missiles still flying nearby, I got several of the following exception:
Exception: Error: Vector3D.distanceTo: Could not construct vector from parameters (undefined) -- expected Vector, Entity or array of three numbers.
Active script: Missile Beep 1.3
missile_beep.js, line 65:
dist = things.position.distanceTo(player.ship.position);

I guess player.ship was not valid at that point.
Post Reply