Phobos-developers / Phobos

Ares-compatible C&C Red Alert 2: Yuri's Revenge engine extension
GNU Lesser General Public License v3.0
254 stars 83 forks source link

SpyEffect Target SW At Center #1269

Open Fryone opened 1 month ago

Fryone commented 1 month ago

Added SpyEffect.SWTargetCenter toggle to target infiltrated building center. Example: turning off war factory using Ares EMP.

https://github.com/Phobos-developers/Phobos/assets/30149531/3be9c269-848b-4403-83ad-d25a13edd49b

github-actions[bot] commented 1 month ago

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

Fryone commented 1 month ago

I don't know in what situation you need to target building center specifically, but the code looks fine. Remember to add a mention in "What's New" section and credits.

Also, can be used to MultiMissile-type SWs, to launch missiles at the exact center.