Jump to content

[LE] Need help about the best way on how to check region specific areas


qwertypol012

Recommended Posts

Hello, thanks for taking a look :smile:

 

I'm currently tweaking a mod to add more kinds of enemy, and some enemies have their own region specific areas in which they'll spawn there. I'm still stuck on how to make certain enemies spawn in their correct region/area. I know there are region records and location keywords. There are also tons of location records, but i think it will be too much to check these locations one by one. So, what is the best way to check it?

 

Edit: To clarify, the method to check will mostly be done via scripting, so my question is about what papyrus codes which are usable for such functionality. And of course, i'll prefer to use something lightweight than something which requires too much resources to handle.

Edited by qwertypol012
Link to comment
Share on other sites

I am not sure it is possible to do this any other way, normally you would just place the creatures through out a region like Bethesda... I can understand though, this might not be an option for you. I have never tried something like this before, but perhaps you could use super sized triggers to determine what region to begin spawning the specific enemies around you. Either way, as far as I know, this all you can do.

 

If someone has more experience with this, please share, I am interested as well.

Link to comment
Share on other sites

Thanks Rasikko :smile:

 

Indeed it seems impossible to check region via papyrus script. That condition function you posted could work, but unfortunately it couldn't work for me because of the way the script spawns the enemy types (99% done in the script, no enemy checks done using records in the plugin).

 

That said, i already found another way to check the proper location for each enemy type. Instead of using region (which i actually wanted to use because i need some way to check snowy areas, forests, marshs, coasts, etc), i use location records and location keywords check instead. While they probably lack several things compared with regions, they actually could cover what i need for the most part. So i guess i've solved this issue for the time being. Hopefully no more problems arise regarding with this issue. :smile:

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...