Skip to content

[#2673] Implement callbacks on scan start, finish, cancel#2675

Merged
daid merged 2 commits intodaid:masterfrom
oznogon:on-scan-callbacks
Apr 15, 2026
Merged

[#2673] Implement callbacks on scan start, finish, cancel#2675
daid merged 2 commits intodaid:masterfrom
oznogon:on-scan-callbacks

Conversation

@oznogon
Copy link
Copy Markdown
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
@daid daid merged commit c40843d into daid:master Apr 15, 2026
5 checks passed
@oznogon oznogon deleted the on-scan-callbacks branch April 15, 2026 15:44
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

2 participants