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:13] 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===== 
 +^Icon^Function^Description^ 
 +|{{: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_multiple.png?nolink|}}|Save As|Saves a copy of the script to a new file.|
  
 =====Palette===== =====Palette=====
 <WRAP group> <WRAP group>
-<WRAP column 54%>+<WRAP column 55%>
 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/logic. To add one of these items to your script, either double-click on the name or select it then click the "Add to Script" button located in the upper right corner of the Palette. The new node will be added at the center of the current editor view. 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/logic. To add one of these items to your script, either double-click on the name or select it then click the "Add to Script" button located in the upper right corner of the Palette. The new node will be added at the center of the current editor view.
 +<WRAP center round info 100%>
 +For details on each function's parameters, along with helpful visual examples, refer to the [[Scripting Reference]] page.
 +</WRAP>
 </WRAP> </WRAP>
 <WRAP column> <WRAP column>
 {{:wiki:script_palette.png?nolink|}} {{:wiki:script_palette.png?nolink|}}
 </WRAP> </WRAP>
-</WRAP> 
- 
-<WRAP center round info 100%> 
-Refer to the [[Scripting Reference]] page for details on each functions parameters, along with visual examples. 
 </WRAP> </WRAP>
  
 =====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.1500657215.txt.gz · Last modified: 2017/07/21 10:13 by justin