Introduction

Information

cedoscript: the way scripting was meant to be. cedoscript was built on the idea of being as clean as possible without uneccesary strings, parameters, and pseudocode that other scripting systems forced users to endure.

Setting up

To setup a script for use you have to create a variable and assign it to the return of the function initScript
1
var script = initScript({
2
name: "Test Script",
3
description: "This is the description",
4
author: "cedo"
5
})
Copied!
You must declare name, description, and author variables.

Hooking an event

To hook an event we use the script variable then call one of the predefined functions for the specified event.
1
var script = initScript({
2
name: "Test Script",
3
description: "This is the description",
4
author: "cedo"
5
})
6
​
7
script.onRender3D(function (event) {
8
print("This will print in the console on render 3D event")
9
})
Copied!
​
Last modified 7mo ago
Copy link