Skip to content

DeleteMapPrefab

Takes a prefab off the list (its placed objects stay).

Refused while a unit of it stands on the map (CreateMapPrefab) - delete or unpack those first.

DeleteMapPrefab(name)
Parameter Type
name string the prefab

boolean, string - true, or false and the reason

DeleteMapPrefab("stall")

SaveMapPrefab · the The server’s map group of the index