Module Spawn_Controller
Funtions for spawning miniatures.
-
spawnUnit (args)
-
Creates a unit using the provided table.
Parameters:
- args
A table referring to the unit to spawn.
Returns:
Handle to the spawned unit leader
Usage:
spawnUnit({
data = { },
color = 'Red',
position = {0, 0, 0},
rotation = {0, 0, 0},
formation = '2-line',
})
-
spawnSilouhette (args)
-
Spawns a silouhette at the provided position and rotation.
Parameters:
- args
The `position` and `rotation` to use.
Returns:
Handle to the spawned silouhette.
Usage:
spawnSilouhette({
position = {0, 0, 0},
rotation = {0, 0, 0},
})
-
_BASE_SIZE_TO_COLLIDER
-
References what collider to use for various base sizes.
Fields:
- Small
- Medium
- Large
- Huge
- Gigantic