Skip to content

Conversation

@oznogon
Copy link
Contributor

@oznogon oznogon commented Jan 2, 2026

Implement new Lua callbacks that fire when a scan is:

  • initiated onScanInitiated()
  • completed onScanCompleted()
  • cancelled onScanCancelled()

The callbacks are passed

  • the ship performing the scan
  • the source entity for the radar used to perform the scan, such as a ship or scan probe

Fixes #2673.

Implement new Lua callbacks that fire when a scan is:

- initiated onScanInitiated()
- completed onScanCompleted()
- cancelled onScanCancelled()
@oznogon oznogon marked this pull request as draft January 2, 2026 19:21
@oznogon oznogon marked this pull request as ready for review January 3, 2026 00:01
@oznogon oznogon changed the title Implement callbacks on scan start, finish, cancel [#2673] Implement callbacks on scan start, finish, cancel Jan 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Callbacks on ScienceScanner states

1 participant