Such addon already existed: https://bb.oolite.space/viewtopic.php?f=4&t=17813
My fault I never uploaded it to the manager.
Missile Beep
Moderators: winston, another_commander
-
- ---- E L I T E ----
- Posts: 299
- Joined: Mon Apr 27, 2015 9:03 pm
Re: Missile Beep
warning sound if a missile is inbound: Missile warning
Re: Missile Beep
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..
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..
Re: Missile Beep
Here. Have cookie! And welcome to the dark side .-)
Re: Missile Beep
When my ship was destroyed with missiles still flying nearby, I got several of the following exception:
I guess player.ship was not valid at that point.
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.