DIFF

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>
Referenced by AddSpawnData(), and SpawnObjects()
static string m_Path = "$mission:myspawndata.json"
Referenced by SpawnObjects()

Methods 3

static void SpawnInit()
References AddSpawnData()
Referenced by SpawnObjects()
static void AddSpawnData(string objectName, vector position, vector orientation)
Referenced by SpawnInit()