Jump to content

About loctype clearable


Zorkaz

Recommended Posts

It enables the location script functions like IsCleared and event OnLocationCleared. There are many different ways the location cleared mechanism can be used, typically related to the number of live and dead LocationRefType tagged actors.

 

Example for WorkshopParentScript:

WorkshopLocations[workshopID].GetRefTypeAliveCount(bossRefType)
...
WorkshopLocations[workshopID].SetCleared(true)

and associated WorkshopScript:

if myLocation.IsCleared() ...
SetOwnedByPlayer(true)
Link to comment
Share on other sites

I have used a bunch of them. too many to list.

 

I have documented the important workshop related keywords and LocRefTypes here https://www.nexusmods.com/fallout4/articles/2094

 

Best is to step through the CK WorldData\LocationRefType list right click use by to see the quests and obejcts, then do a folder/findstr/text search search through C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\Base to see how they are referenced in scripts.

Link to comment
Share on other sites

Cleared locations have a distinct respawn timer from other ones.

 

I use a mod that sets cleared locations respawn timer to 100 years. Or might have been 1000, don't really remember off hand.

 

But Locations without the Clearable flag are not affected by this timer and have their own timer setting instead.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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