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

Suggestion: aggro toggling as unit saving mechanism #377

Open
Slayer95 opened this issue Sep 22, 2024 · 2 comments
Open

Suggestion: aggro toggling as unit saving mechanism #377

Slayer95 opened this issue Sep 22, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Slayer95
Copy link
Contributor

  • When Neutral Hostiles attack a unit controlled by AMAI, causing its HP to drop below a critical HP level, order it to attack a healthy ally unit nearby (without Healing Salve active) once.
  • When (such) a healthy AI unit is attacked by their ally, order the attacker to Stop.

This will leverage neutral hostiles built-in AI, causing them to stop attacking the unit in danger.

@jzy-chitong56
Copy link
Contributor

In fact, the biggest difference between scripts and triggers is the inability to monitor in real-time, which makes it difficult to trigger intervention in a script in a timely manner. In theory, rescuing code to JOB care of low health units is already sufficient

@Slayer95
Copy link
Contributor Author

Yeah. I worded my post in trigger-style. The commander could do such steps, but I don't think that would be the best solution. However, I am tempted to incorporate this routine in my own maps.

@SMUnlimited SMUnlimited added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants