PC Stable Documentation
|
|
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. More...
Static Private Member Functions | |
static void | SpawnObjects () |
static void | SpawnInit () |
static void | AddSpawnData (string objectName, vector position, vector orientation) |
Static Private Attributes | |
static ref array< ref ITEM_SpawnerObject > | Objects = new array<ref ITEM_SpawnerObject> |
static string | m_Path = "$mission:myspawndata.json" |
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.
|
inlinestaticprivate |
References ITEM_SpawnerObject::name, Objects, ITEM_SpawnerObject::pos, and ITEM_SpawnerObject::ypr.
Referenced by SpawnInit().
|
inlinestaticprivate |
References AddSpawnData().
Referenced by SpawnObjects().
|
inlinestaticprivate |
References ErrorEx, m_Path, ObjectSpawnerJson::Objects, Objects, and SpawnInit().
|
staticprivate |
Referenced by SpawnObjects().
|
staticprivate |
Referenced by AddSpawnData(), and SpawnObjects().