Two alertConditionChanged events during docking?

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2439
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Two alertConditionChanged events during docking?

Post by Wildeblood »

I just noticed this. Was it always thus?

Code: Select all

shipWillDockWithStation([Station "Coriolis Station" "Coriolis Station" position: (6991.04, 122343, 787366) scanClass: CLASS_STATION status: STATUS_ACTIVE])

alertConditionChanged(1, 2)

shipDockedWithStation([Station "Coriolis Station" "Coriolis Station" position: (6991.04, 122343, 787366) scanClass: CLASS_STATION status: STATUS_ACTIVE])
guiScreenWillChange(GUI_SCREEN_STATUS, GUI_SCREEN_MAIN)
guiScreenChanged(GUI_SCREEN_STATUS, GUI_SCREEN_MAIN)
missionScreenOpportunity()

alertConditionChanged(0, 1)
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4829
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Two alertConditionChanged events during docking?

Post by phkb »

I believe this has always worked that way: from amber to green, from green to docked.
Post Reply