This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
script_editor [2017/07/21 10:26] – justin | script_editor [2017/09/01 13:58] (current) – justin | ||
---|---|---|---|
Line 3: | Line 3: | ||
=====Overview===== | =====Overview===== | ||
- | The Script Editor is where you will create scripts for the various events and interactions in your game. This includes scenarios like loading maps, opening doors, triggering traps, and many other possibilities! | + | The **Script Editor** is where you will create scripts for the various events and interactions in your game. This includes scenarios like loading maps, opening doors, triggering traps, and many other possibilities! |
=====Toolbar===== | =====Toolbar===== | ||
- | ^Icon^Function^Description^Shortcut Key^ | + | ^Icon^Function^Description^ |
|{{: | |{{: | ||
|{{: | |{{: | ||
Line 13: | Line 13: | ||
=====Palette===== | =====Palette===== | ||
<WRAP group> | <WRAP group> | ||
- | <WRAP column | + | <WRAP column |
The Palette is a list of all functions and logic nodes that are available to add to your script. By selecting an item in the list, the text box below the Palette will be updated to display usage information pertaining to that scripting function/ | The Palette is a list of all functions and logic nodes that are available to add to your script. By selecting an item in the list, the text box below the Palette will be updated to display usage information pertaining to that scripting function/ | ||
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
Line 24: | Line 24: | ||
</ | </ | ||
+ | =====Script Graph===== | ||
+ | The Script Graph is the visual workspace where you will build your script and is similar to a flowchart. Once you have added functions to your script, you can click and drag to move them around. To connect two nodes together, click on the output connector of one then drag to the input connector of another. In order to have a valid script, you need at least one function connected to the Start node. Nodes can be removed from the Script Graph by clicking on their " | ||
+ | {{: | ||
- | =====Script Graph===== | + | =====Script Graph Toolbar===== |
- | The Script Graph is the visual workspace where you will build your script. | + | ^Function^Description^ |
+ | |Duplicate|Creates a copy of all selected nodes in the script | ||
+ | |Select All|Selects all nodes in the script | ||
+ | |Select None|Deselects any selected nodes in the script graph.| | ||
=====Source Code===== | =====Source Code===== | ||
The Source Code panel is located at the bottom of the Script Editor and displays the source code for the script. This is primarily for informational purposes, but can be helpful if you are interesting in learning the custom scripting language that is used by RPG in a Box. The source code is updated in real-time as you edit the visual Script Graph. | The Source Code panel is located at the bottom of the Script Editor and displays the source code for the script. This is primarily for informational purposes, but can be helpful if you are interesting in learning the custom scripting language that is used by RPG in a Box. The source code is updated in real-time as you edit the visual Script Graph. | ||
+ | |||
+ | {{: | ||
~~NOTOC~~ | ~~NOTOC~~ |