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.
Syntax
Section titled “Syntax”DeleteMapPrefab(name)| Parameter | Type | |
|---|---|---|
name |
string | the prefab |
Returns
Section titled “Returns”boolean, string - true, or false and the reason
Example
Section titled “Example”DeleteMapPrefab("stall")See also
Section titled “See also”SaveMapPrefab · the The server’s map group of the index
