api:map_spawn_info
Table of Contents
MAP_SPAWN_INFO
Category: Data
Properties
Prefab
Position
The position at which the prefab will be spawned.
- Type:
vec3f
- Expected:
vec3f value
- Default value:
{ 0, 0, 0 }
Orientation
Scale
The scale at which the prefab will be spawned.
- Type:
vec3f
- Expected:
vec3f value
- Default value:
{ 1, 1, 1 }
Color
The color tint at which the prefab will be spawned.
- Type:
color
- Expected:
color value
- Default value:
COL_WHITE
PatchBeforeVersion
This prefab will be force-spawned in existing maps if the Map Version is smaller than 'Patch Before Version'. The Map Version is equal to the Mod Version when the map was last loaded. Format: \'X.Y.Z\'
- Type:
string
- Expected:
string value
api/map_spawn_info.txt · Last modified: 2024/02/06 13:53 by 127.0.0.1