summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2021-05-05 20:57:29 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2021-05-05 20:57:29 +0200
commit0d2736d22ced1f9bf566192f8604f869e0f5c6b9 (patch)
tree1f63bb8bda843803911546508be2b570dc83aaa6 /content/fate_v1/variables
parent73cc70358020538b13f2d5cf4e81426b13bbb85a (diff)
...
Diffstat (limited to 'content/fate_v1/variables')
-rw-r--r--content/fate_v1/variables/_index.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/fate_v1/variables/_index.md b/content/fate_v1/variables/_index.md
index a182dd0..a428b2c 100644
--- a/content/fate_v1/variables/_index.md
+++ b/content/fate_v1/variables/_index.md
@@ -59,6 +59,12 @@ Declares the local variable `{Identifier}` of type `[TYPE]`.
{{< fatecode >}}(global [TYPE] {Identifier}){{< /fatecode >}}
Declares the global variable `{Identifier}` of type `[TYPE]`.
+### EXTERNAL VARIABLE
+{{< fatecode >}}(external [TYPE] {Identifier}){{< /fatecode >}}
+Declares the external variable `{Identifier}` of type `[TYPE]`.
+External variables do not get initialized and are assumed to already have been
+set prior to the narrative starting.
+
## Example
{{< fatecode >}}(local string name_of_dog)