184 {
185 super.OnSpawnByObjectSpawner(item);
186
188 return;
189
190 JsonUndergroundTriggers jsonData = UndergroundAreaLoader.GetData();
192 {
193 foreach (
int index,
auto triggerData : jsonData.
Triggers)
194 {
195 if (triggerData.CustomSpawn)
196 {
197
200
201 foreach (string entry : customStringData)
202 {
204 entry.Split("=", optionValuePair);
205 if (optionValuePair[0] == "undergroundTriggerTag")
206 {
207 if (optionValuePair[1] == triggerData.Tag)
208 {
209 JsonUndergroundTriggers.SpawnTriggerCarrier(this, index, triggerData);
210 }
211 }
212 }
213 }
214 }
215 }
216 }
ref array< ref JsonUndergroundAreaTriggerData > Triggers
class array< Class T > TStringArray
void Split(string sample, out array< string > output)
Splits string into array of strings separated by 'sample'.
static const string Empty