Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce various transport and carrier callbacks #4921

Merged
merged 3 commits into from
May 18, 2023

Conversation

Garanas
Copy link
Member

@Garanas Garanas commented May 17, 2023

Introduces various callbacks and platoon events that were missing, including:

  • OnTransportAttach
  • OnTransportDetach
  • OnTransportAborted
  • OnTransportOrdered
  • OnAttachedKilled
  • OnStartTransportLoading
  • OnStopTransportLoading

Additional, adds the following missing events to the new platoon template:

  • OnStorageChange
  • OnAddToStorage
  • OnRemoveFromStorage

They are all annotated. The comments describe when you can expect the event to trigger.

@Garanas Garanas added area: code style code refactoring area: sim Area that is affected by the Simulation of the Game area: AI related to AI functions labels May 17, 2023
@Garanas Garanas added this to the Development iteration II milestone May 17, 2023
@Garanas
Copy link
Member Author

Garanas commented May 17, 2023

@relent0r would it be interesting to know what units are attached to a transport?

@Garanas Garanas merged commit 9cc6540 into deploy/fafdevelop May 18, 2023
2 checks passed
@Garanas Garanas deleted the feature/additional-ai-callbacks-01 branch May 18, 2023 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: AI related to AI functions area: code style code refactoring area: sim Area that is affected by the Simulation of the Game
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant