shenef / SoS-TAS

Sea of Stars TAS
3 stars 0 forks source link

Memory: Detecting enemies on map #120

Open orkaboy opened 11 months ago

orkaboy commented 11 months ago

Needed so we can intentionally seek out mandatory enemy groups in a reliable and efficient way (and also for getting Graplou targets later down the line).

We'll need the positions of enemies on the map, and a way to filter out the relevant enemies if that array contain other things too.

Eein commented 11 months ago

From my initial research - all enemy game objects are scattered in ECS, making them a massive task to retrieve.

I can find their position values at runtime manually, but theres no reliable way i've found to get the data for a list of enemies on a screen. This may require someone with much more unity ECS RE knowledge than I have to figure out.

orkaboy commented 11 months ago

That's unfortunate. We'll have to run it slightly blind for the time being then.