summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskyace65 <trekie96@hotmail.com>2021-12-15 22:16:00 -0500
committerskyace65 <trekie96@hotmail.com>2021-12-15 22:17:34 -0500
commit9f983eea8caf6801fd0d88aaf4ddd668e1cda729 (patch)
treeab431d820c9cd67e74b3f0a9175348467a203c03
parente311389580226f0fc5adb6abe785d7af58e06892 (diff)
Clarify that the script class should not be used directly
-rw-r--r--doc/classes/Script.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Script.xml b/doc/classes/Script.xml
index ab88bdaa73..4174e1afeb 100644
--- a/doc/classes/Script.xml
+++ b/doc/classes/Script.xml
@@ -5,6 +5,7 @@
</brief_description>
<description>
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.
</description>
<tutorials>