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

Annotate campaign related functions pt. 2 #4009

Merged
merged 4 commits into from
Jul 6, 2022

Conversation

Garanas
Copy link
Member

@Garanas Garanas commented Jun 26, 2022

No description provided.

engine/Sim.lua Outdated Show resolved Hide resolved
--- | Objective data | Description |
--- | --------------------- | ------------- |
--- | Units | Table of units to kill
--- | NumRequired | Number of units required for the objective to pass
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kill objective doesnt support NumRequired

--- | --------------------- | ------------- |
--- | Units | Table of units to kill
--- | NumRequired | Number of units required for the objective to pass
--- | MarkUnits | Flag to to mark the units with an objective arrow the units are marked with an objective arrow
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could add to the description that the default value is true, so it's basically used only to not mark the units if you set it to false.

---@param Complete ObjectiveStatus # Completion status, usually this is 'incomplete' unless the player already completed it by chance
---@param Title string # Title of the objective, supports strings with LOC
---@param Description string # Description of the objective, supports strings with LOC
---@param Target table # Objective data, see the description
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're missing Image param

@Garanas
Copy link
Member Author

Garanas commented Jul 6, 2022

I'll process the feedback in a future pull request, I need something to trigger the hook 😄

@Garanas Garanas merged commit a4916d5 into deploy/fafdevelop Jul 6, 2022
@Hdt80bro Hdt80bro added this to Done in Annotation Jul 25, 2022
@Garanas Garanas deleted the annotation/campaign-pt2 branch August 22, 2022 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants