Default Agent Script - theRAPTLab/gsgo GitHub Wiki

When a new Character (Blueprint) is created, it is initialized with a default script.

That default script is defined in ScriptEditor.jsx, around line 42:

const SCRIPT_TEMPLATE = `# BLUEPRINT untitled
# TAG isCharControllable true
# TAG isPozyxControllable true
# TAG isPTrackControllable false
# PROGRAM DEFINE
useFeature Costume
featCall Costume setCostume 'circle.json' 0
// useFeature Movement
# PROGRAM EVENT
// onEvent Tick [[ ]]
# PROGRAM UPDATE
// when xxx touches yyy [[ ]]`;

You can modify that default script, but keep in mind it will affect ALL projects.

⚠️ **GitHub.com Fallback** ⚠️