180 {
181 super.OnSpawnByObjectSpawner(item);
182
184 return;
185
186 JsonUndergroundTriggers jsonData = UndergroundAreaLoader.GetData();
188 {
189 foreach (
int index,
auto triggerData : jsonData.
Triggers)
190 {
191 if (triggerData.CustomSpawn)
192 {
193
196
197 foreach (string entry : customStringData)
198 {
200 entry.Split("=", optionValuePair);
201 if (optionValuePair[0] == "undergroundTriggerTag")
202 {
203 if (optionValuePair[1] == triggerData.Tag)
204 {
205 JsonUndergroundTriggers.SpawnTriggerCarrier(this, index, triggerData);
206 }
207 }
208 }
209 }
210 }
211 }
212 }
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