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:13] – 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===== | ||
+ | ^Icon^Function^Description^ | ||
+ | |{{: | ||
+ | |{{: | ||
+ | |{{: | ||
=====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%> | ||
+ | For details on each function' | ||
+ | </ | ||
</ | </ | ||
<WRAP column> | <WRAP column> | ||
{{: | {{: | ||
</ | </ | ||
- | </ | ||
- | |||
- | <WRAP center round info 100%> | ||
- | Refer to the [[Scripting Reference]] page for details on each functions parameters, along with visual examples. | ||
</ | </ | ||
=====Script Graph===== | =====Script Graph===== | ||
- | The Script Graph is the visual workspace where you will build your script. 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 " | + | The Script Graph is the visual workspace where you will build your script |
+ | |||
+ | {{: | ||
+ | |||
+ | =====Script Graph Toolbar===== | ||
+ | ^Function^Description^ | ||
+ | |Duplicate|Creates a copy of all selected nodes in the script graph (including any connections between the selected nodes).| | ||
+ | |Select All|Selects all nodes in the script graph.| | ||
+ | |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~~ |