class SpawnDataConverterSource
Utility class that converts init.c format type of spawn commands to a json file, fill in the SpawnInit() with your data and call SpawnDataConverter.SpawnObjects() through script editor console, result is a json file
Members 2
static ref array<ref ITEM_SpawnerObject> Objects = new array<ref ITEM_SpawnerObject>static string m_Path = "$mission:myspawndata.json"Referenced by SpawnObjects()
Methods 3
static void SpawnObjects()References array.Clear(), ErrorEx(), new ObjectSpawnerJson()
Show 5 more
, JsonFileLoader.SaveFile(), SpawnInit(), m_Path, Objects, and ObjectSpawnerJson.ObjectsReferences array.Insert(), new ITEM_SpawnerObject(), ITEM_SpawnerObject.name
Show 3 more
, Objects, ITEM_SpawnerObject.pos, and ITEM_SpawnerObject.yprReferenced by SpawnInit()