From 9f983eea8caf6801fd0d88aaf4ddd668e1cda729 Mon Sep 17 00:00:00 2001 From: skyace65 Date: Wed, 15 Dec 2021 22:16:00 -0500 Subject: [PATCH] Clarify that the script class should not be used directly --- doc/classes/Script.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Script.xml b/doc/classes/Script.xml index ab88bdaa735c..4174e1afebb4 100644 --- a/doc/classes/Script.xml +++ b/doc/classes/Script.xml @@ -5,6 +5,7 @@ A class stored as a resource. A script extends the functionality of all objects that instance it. + This is the base class for all scripts and should not be used directly. Trying to create a new script with this class will result in an error. The [code]new[/code] method of a script subclass creates a new instance. [method Object.set_script] extends an existing object, if that object's class matches one of the script's base classes.