CodeBlack
Recruit
Hello there
Does anyone know how the enemy/ party detection or the collision detection on the campaign map is working?
I want to add a modded event based on parties in proximity.
First i was thinking of simply making a script that can bee added to a collider through the map editor, but so far i havent been able to figure out if such collider component even exists in the editor.
Then i had the idea to just bind it to campaign events in my module, but so far i have not found a way to access the Spotted Enemies of a settlement, only the count of those.
I saw there is a method to find parties around coordinates under MobileParty, but i could not figure out how to use it properly without the game crashing.
Any Ideas? Is this even possible?
Does anyone know how the enemy/ party detection or the collision detection on the campaign map is working?
I want to add a modded event based on parties in proximity.
First i was thinking of simply making a script that can bee added to a collider through the map editor, but so far i havent been able to figure out if such collider component even exists in the editor.
Then i had the idea to just bind it to campaign events in my module, but so far i have not found a way to access the Spotted Enemies of a settlement, only the count of those.
I saw there is a method to find parties around coordinates under MobileParty, but i could not figure out how to use it properly without the game crashing.
Any Ideas? Is this even possible?