63 {
64 super.OnSpawnByObjectSpawner(item);
65
67 return;
68
69 JsonUndergroundTriggers jsonData = UndergroundAreaLoader.GetData();
71 {
72 foreach (
int index,
auto triggerData : jsonData.
Triggers)
73 {
74 if (triggerData.CustomSpawn)
75 {
76
79
80 foreach (string entry : customStringData)
81 {
83 entry.Split("=", optionValuePair);
84 if (optionValuePair[0] == "undergroundTriggerTag")
85 {
86 if (optionValuePair[1] == triggerData.Tag)
87 JsonUndergroundTriggers.SpawnTriggerCarrier(this, index, triggerData);
88 }
89 }
90 }
91 }
92 }
93 }
ref array< ref JsonUndergroundAreaTriggerData > Triggers
array< string > TStringArray
void Split(string sample, out array< string > output)
Splits string into array of strings separated by 'sample'.
static const string Empty