sm.builderGuide.createBuilderGuide

Create a BuilderGuide, comparing the creation from the root Shape to the blueprint given by the path.

Kind: Function

Environments: Game

Game

sm.builderGuide.createBuilderGuide(
    path,
    shape,
    ignoreBlockUuid,
    recordErrors,
    allowExtraBlocks
)

Open the full Game reference

Parameters:

Name Type Description
path string A file path to the builder guide blueprint.
shape Shape Root Shape for comparing the creation from.
ignoreBlockUuid (optional) boolean Should block uuid be ignored for stage completion. (Defaults to false)
recordErrors (optional) boolean Should errors be recorded. Needed for getErrorInfo (Defaults to false)
allowExtraBlocks (optional) boolean Should extra blocks be ignored for stage completion. (Defaults to true)

Returns:

Type Description
BuilderGuide The created guide.