rem -------------------------------------------------------------------------
rem -------------------------------------------------------------------------

Wizard.create "Check Has Camera"

Wizard.beginAnalyzer
Wizard.populate IS PlayerControlObject
Wizard.recurseFilter ISNOT PlayerControlObject
Wizard.exclude HASCHILD Camera
Wizard.endAnalyzer

Wizard.warning "#OBJECT has no Camera"
Wizard.category General
Wizard.type ErrorCheck

Wizard.beginResolution
Wizard.getString "Enter new Camera name:"
ObjectTemplate.create Camera #STRING
ObjectTemplate.createdInEditor 1
ObjectTemplate.active #OBJECT
ObjectTemplate.addTemplate #STRING
Wizard.endResolution

rem -------------------------------------------------------------------------
rem -------------------------------------------------------------------------

Wizard.create "Check Has EntryPoint"

Wizard.beginAnalyzer
Wizard.populate IS PlayerControlObject
Wizard.recurseFilter ISNOT PlayerControlObject
Wizard.exclude HASCHILD EntryPoint
Wizard.endAnalyzer

Wizard.warning "#OBJECT has no EntryPoint"
Wizard.category General
Wizard.type ErrorCheck

Wizard.beginResolution
Wizard.getString "Enter new EntryPoint name:"
ObjectTemplate.create EntryPoint #STRING
ObjectTemplate.createdInEditor 1
ObjectTemplate.active #OBJECT
ObjectTemplate.addTemplate #STRING
Wizard.endResolution

rem -------------------------------------------------------------------------
rem -------------------------------------------------------------------------

Wizard.create "Check PlayerControlObjects"

Wizard.beginAnalyzer
Wizard.populate IS PlayerControlObject
Wizard.CheckValue networkableInfo DIFFER ""
Wizard.endAnalyzer

Wizard.warning "#OBJECT has no NetworkableInfo"
Wizard.category General
Wizard.type ErrorCheck

Wizard.beginResolution
ObjectTemplate.active #OBJECT
ObjectTemplate.networkableInfo BasicInfo
Wizard.endResolution

rem -------------------------------------------------------------------------
rem -------------------------------------------------------------------------

