Hi. I want my Artillery to attack a random enemy's building, even if it's covered in FOW, just like in Castle Fight map. My problem is that I can't find a way to pick units from within fog of war.
When I do
"Unit - Order PDD_source to Attack (Random unit from (Units in EntireMap <gen> matching ((((Matching unit) belongs to an enemy of (Owner of PDD_source)) is true) and (((Unit-type of (Matching unit)) is Building) is true))))"
It only attacks a random enemy building which an owner of the attacking Artillery can see.
It's the only thing that couldn't really google at this point, sorry if the answer for this already exists
When I do
"Unit - Order PDD_source to Attack (Random unit from (Units in EntireMap <gen> matching ((((Matching unit) belongs to an enemy of (Owner of PDD_source)) is true) and (((Unit-type of (Matching unit)) is Building) is true))))"
It only attacks a random enemy building which an owner of the attacking Artillery can see.
It's the only thing that couldn't really google at this point, sorry if the answer for this already exists
Last edited: