-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFO76 - ExportGLOBtoWikiVariablesDoc.pas
More file actions
60 lines (57 loc) · 1.63 KB
/
FO76 - ExportGLOBtoWikiVariablesDoc.pas
File metadata and controls
60 lines (57 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
Apply custom scripted filter for LVLN with Unknown 8
}
unit ApplyCustomScriptedFilter;
function Filter(d: IInterface): Boolean;
var val, Edid: String;
begin
Result := False;
if Not ElementExists(d,'FLTV') then Exit;
val := GetEditValue(ElementBySignature(d,'FLTV'));
Edid := EditorID(d);
AddMessage('-->{{#vardefine: '+Edid+'|'+val+'}}<!--'+IntToHex(FormID(d),8));
Result := True;
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 := True;
FilterSignatures := 'GLOB';
FilterByBaseSignature := False;
FilterBaseSignatures := '';
FlattenBlocks := True;
FlattenCellChilds := False;
AssignPersWrldChild := False;
InheritConflictByParent := True; // color conflicts
FilterScripted := True; // use custom Filter() function
ApplyFilter;
Result := 1;
end;
end.