User Tools

Site Tools


script_editor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
script_editor [2017/07/21 10:43] justinscript_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^
 |{{:wiki:new_resource.png?nolink|}}|New Resource|Opens the [[New Resource dialog]] (with "Script" selected for the resource type).| |{{:wiki:new_resource.png?nolink|}}|New Resource|Opens the [[New Resource dialog]] (with "Script" selected for the resource type).|
 |{{:wiki:disk.png?nolink|}}|Save|Saves changes to the script.| |{{:wiki:disk.png?nolink|}}|Save|Saves changes to the script.|
Line 25: Line 25:
  
 =====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 "X" button located in the upper right corner of the node.+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 "X" button located in the upper right corner of the node. 
 + 
 +{{:wiki:link_map_tut_07.gif?nolink|}} 
 + 
 +=====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.
 +
 +{{:wiki:script_source_code.png?nolink|}}
  
 ~~NOTOC~~ ~~NOTOC~~
script_editor.1500659035.txt.gz · Last modified: 2017/07/21 10:43 by justin