- 0
[SSEedit Script] How to skip over record that I'm not interested?
-
Similar Content
-
- 1 reply
- 206 views
-
xedit Trying to remove a few plugins from CR patch, tried reading guides, still confused
By ArcMcNabbs,
- 1 reply
- 334 views
-
- 0 replies
- 468 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.


Question
azzendix
Problem:
I want to reduce script execution time. Is there any way to skip over records that I'm not interested?
Detail:
I want to create SSEedit Script to check old form version(43). I modified "ApplyCustomScriptedFilter.pas" file.
The script is working as intended but it takes a long time to run through all records from ESP files.
Here is the script.(only modified part)
Just in case someone want to see it. Here is the original ApplyCustomScriptedFilter.pas file.(in spoiler)
{ Apply custom scripted filter for female NPC characters } unit ApplyCustomScriptedFilter; function Filter(e: IInterface): Boolean; begin if Signature(e) <> 'NPC_' then Exit; // Female flag Result := GetElementNativeValues(e, 'ACBS\Flags') and 1 > 0; end; function Initialize: Integer; begin FilterConflictAll := False; FilterConflictThis := False; FilterByInjectStatus := False; FilterInjectStatus := False; FilterByNotReachableStatus := False; FilterNotReachableStatus := False; FilterByReferencesInjectedStatus := False; FilterReferencesInjectedStatus := False; FilterByEditorID := False; FilterEditorID := ''; FilterByName := False; FilterName := ''; FilterByBaseEditorID := False; FilterBaseEditorID := ''; FilterByBaseName := False; FilterBaseName := ''; FilterScaledActors := False; FilterByPersistent := False; FilterPersistent := False; FilterUnnecessaryPersistent := False; FilterMasterIsTemporary := False; FilterIsMaster := False; FilterPersistentPosChanged := False; FilterDeleted := False; FilterByVWD := False; FilterVWD := False; FilterByHasVWDMesh := False; FilterHasVWDMesh := False; FilterBySignature := False; FilterSignatures := ''; FilterByBaseSignature := False; FilterBaseSignatures := ''; FlattenBlocks := False; FlattenCellChilds := False; AssignPersWrldChild := False; InheritConflictByParent := True; // color conflicts FilterScripted := True; // use custom Filter() function ApplyFilter; Result := 1; end; end.I found the information about Group from Tes5Mod:Mod File Format but I don't know how to use it. I can't find any example or tutorial about it.
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now