Oolite Bulletins

For information and discussion about Oolite.
It is currently Thu Mar 21, 2019 12:21 pm

All times are UTC

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Sep 05, 2013 4:58 am 

Joined: Mon Sep 02, 2013 3:45 am
Posts: 37
So I wrote out the following code here whilst modifying Destination ETA:
this.compassTargetChanged = function(whom, mode) {
It turns out this function doesn't get called when "whom" is the same, but "mode" is different. (e.g. when the ship has the main nav buoy targeted, switching compass mode from 'current target' to that same nav buoy). I'm not sure this is by design but I'd expect the event to fire if the compass mode changes. The in-game effect was that while cycling through the targets, printing out each target (think talkative space compass), it wouldn't print anything out when the mode clearly changed (from a + to an N).. slightly unsettling

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 8 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited