dizietemblesssma Posted September 27, 2020 Share Posted September 27, 2020 is a 'location' a collections of cells? Or can it be something else, if so how would boundaries be created in the CK. Can a cell belong to more than one location? I ask because my most recent - very beta! - mod uses the OnLocationChange event. My first skyrim mod involves patches for pools etc. to create trigger boxes for auto-undressing, some of these pools are outdoors. I would like to add in those patches some location data that my newest mod could detect. Otherwise there could be conflict between the behaviour of the newest mod and the patches. If there is another way for actors to detect that they are about to enter a trigger box and get some keyword or other identifier I would be interested too. My newest mod auto changes outfits, it's been done and almost certainly better, but it's an itch I'm enjoying scratching:) I'm thinking of adding in swimming functionality, but I want to avoid any conflict with mods that add undressing in water, not just my patches but quite a few player home mods have these. Indoor water will be no probs as I intend to disable the swimming function in any location that has loctypedwelling, but outside is tricky. diziet Link to comment Share on other sites More sharing options...
Evangela Posted September 27, 2020 Share Posted September 27, 2020 (edited) Locations are collection of cells or objects/actors, yeah. They don't exactly exist in the world. Boundaries are defined by "regions" which in themselves may contain locations. These boundaries are hard to detect because a single region could be like 3-4 cells and what not and probably have no locations. Edited September 27, 2020 by Rasikko Link to comment Share on other sites More sharing options...
dizietemblesssma Posted September 27, 2020 Author Share Posted September 27, 2020 Collections of cells is what I feared from looking in the CK but collections of objects sounds interesting. Could you expand, does this mean that a stationary object could trigger the OnLocationChange event? diziet Link to comment Share on other sites More sharing options...
Evangela Posted September 27, 2020 Share Posted September 27, 2020 (edited) That I don't know for sure, I would think that objects can't move under normal circumstances and thus can't actually trigger any location change. I have never heard or read of any instance of this Event being used on any form other than the player. Objects can only be part of a location if they are set as a LocationRefType for that location. Actors will be part of the location if this location is set under Persist Location for their Reference Window. Edited September 27, 2020 by Rasikko Link to comment Share on other sites More sharing options...
dizietemblesssma Posted September 27, 2020 Author Share Posted September 27, 2020 I think I may be misunderstanding, I thoght that maybe an object cold be a location and if an actor came near the actor would get the OnlocationChange event. diziet Link to comment Share on other sites More sharing options...
Evangela Posted September 27, 2020 Share Posted September 27, 2020 (edited) Oh my bad lol, no, objects cant be locations in the sense that you're saying. Locations have to be cells for triggering. Edited September 27, 2020 by Rasikko Link to comment Share on other sites More sharing options...
dizietemblesssma Posted September 29, 2020 Author Share Posted September 29, 2020 Pity, thanks for getting back:) diziet Link to comment Share on other sites More sharing options...
Recommended Posts