Maduin81 Posted May 22, 2016 Share Posted May 22, 2016 Hey folks, I was wondering if anyone knew of an easy way to find when you enter/leave a settlement? Not relying on locationchange or anything like that but specifically knowing once you're inside a buildable area. OnLocationChange doesn't seem 100% reliable and doesn't seem to work for mods like Conquest. I'm currently thinking just randomly poll for workshopworkbenches within a range every so often and checking if the player is within the buildable area, but it seems to me there would be an easier way. Any advice would be greatly appreciated~! Link to comment Share on other sites More sharing options...
BlahBlahDEEBlahBlah Posted May 22, 2016 Share Posted May 22, 2016 (I'm just running out the door here, but quickly...)At least in my settlements, there are 2 triggers, the setownedtrigger and a, umm...defaultemptytrigger (because it is).Not sure how Conquest is doing though, as neither is absolutely necessary (can use the bench itself's radius, if no primitive exists). "Iswithinbuildablearea" askref is possible (see link 2). Reverse where the message "you are now leaving the build able area, you have 5 seconds..." (or whatever it says) is coming from. http://www.creationkit.com/index.php?title=OnTriggerEnter_-_ObjectReferenceAndhttp://www.creationkit.com/fallout4/index.php?title=IsWithinBuildableArea_-_ObjectReference Link to comment Share on other sites More sharing options...
Maduin81 Posted May 23, 2016 Author Share Posted May 23, 2016 By any chance, is there a way to get the trigger assocated with a settlement without specifying it? I'm at a loss on how to capture OnTriggerEnter by using the DefaultEmptyTrigger with a check to see if its a settlement instead of the object references implicitly defined. Link to comment Share on other sites More sharing options...
Recommended Posts