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

Map events 604-605 for checking if a specific Techno enters in a cell #1250

Open FS-21 opened 2 months ago

FS-21 commented 2 months ago

Use them in Celltags (I' not a map maker so I don't if can be used in other places).

In mycampaign.map:

[Events]
...
ID=EventCount,...,604,2,[HouseIndex],[TechnoType],...
ID=EventCount,...,605,2,[HouseIndex],[AITargetTypes index#],...
...
House Index Description
>= 0 The index of the current House in the map
-1 This value is ignored (any house is valid)
-2 Pick the owner of the map trigger
github-actions[bot] commented 2 months 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.