Skip to content
Jasdac edited this page Dec 15, 2020 · 9 revisions

Welcome to the ObstacleScript wiki!

Cheat sheet chat commands for level development:

Command Arguments Description
SAVE (str)group="" Saves spawned assets to the level DB. You can specify a group if you want to spawn a set of specific meshes by label. Otherwise ignore the group to spawn them when the level starts
TRUNCATE ALL n/a Purges the entire DB, removing all spawns from your level. Make sure to take a backup before doing this.
CLOSE n/a Despawns any spawned assets
LIST n/a Outputs a list of the spawn table, with indexes for each spawn. Important: When you delete an asset from the list, the indexes will change. Always list the assets before deleting or modifying one.
DELETE (int)idx Deletes a single item by index
SETGROUP (int)idx, (str)group Changes the spawn group for an item by index.
SETDESC (int)idx, (str)desc Changes the saved description for an item by index.
LOAD (str)group="" Spawns an asset group as dummies.
LIVE (str)group="" Same as above, but spawns as live.
SPAWN (int)idx1, (int)idx2... Spawn one or multiple assets by index as live.
TEST (int)idx1, (int)idx2... Spawn one or multiple assets by index as dummies.

Saving descriptions

Clone this wiki locally